Rename domain group variable to server_domain
This commit is contained in:
parent
6036a91902
commit
ee8a6f0598
3 changed files with 5 additions and 3 deletions
|
|
@ -8,3 +8,5 @@ caddy_tls_use_staging: yes
|
|||
|
||||
whoami_use_https: no
|
||||
wallabag_use_https: no
|
||||
|
||||
#server_domain: mytest.com
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
register: result
|
||||
changed_when: (result.stdout | from_json) != (lookup('template', 'upstream.json.j2') | from_yaml)
|
||||
become: yes
|
||||
notify: "update upstream"
|
||||
notify: "update whoami upstream"
|
||||
|
||||
- name: Deploy whoami to swarm
|
||||
community.general.docker_stack:
|
||||
|
|
@ -21,5 +21,5 @@
|
|||
become: yes
|
||||
tags:
|
||||
- docker-swarm
|
||||
notify: "update upstream"
|
||||
notify: "update whoami upstream"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"@id": "{{ stack.name }}_upstream",
|
||||
{% if domain is not undefined and not none %}
|
||||
{% if server_domain is not undefined and not none %}
|
||||
"match": [
|
||||
{
|
||||
"host": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue