update template
This commit is contained in:
parent
4b260e06a7
commit
600d8934ad
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@
|
||||||
dest: /root/docker-compose
|
dest: /root/docker-compose
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
- name: Template a file to /etc/file.conf
|
- name: Template a file to /opt/docke-compsoe/traefik/docker-compose.yml
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: traefic-docker-compose.yml
|
src: traefic-docker-compose.yml
|
||||||
dest: /opt/docke-compsoe/traefik/docker-compose.yml
|
dest: /opt/docke-compsoe/traefik/docker-compose.yml
|
||||||
|
|
|
@ -30,7 +30,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
{% if whoami %}
|
{% if whoami == 1 %}
|
||||||
whoami:
|
whoami:
|
||||||
image: "traefik/whoami"
|
image: "traefik/whoami"
|
||||||
container_name: "simple-service"
|
container_name: "simple-service"
|
||||||
|
|
Loading…
Reference in a new issue