Add server.ip in whitelist
This commit is contained in:
parent
afe60bbf47
commit
6e78f02cd4
3 changed files with 13 additions and 1 deletions
|
@ -12,9 +12,14 @@
|
|||
loop:
|
||||
- { src: 'docker-compose.yml', dest: 'docker-compose.yml' }
|
||||
- { src: 'config/traefik.yml', dest: 'config/traefik.yml' }
|
||||
- { src: 'config/dynamic_conf.yml', dest: 'config/dynamic_conf.yml' }
|
||||
register: traefik_copy_templates_results
|
||||
|
||||
# Avoid restart docker if dynamic_conf updated
|
||||
- name: Copy dynamic_conf conf
|
||||
ansible.builtin.template:
|
||||
src: "config/dynamic_conf.yml"
|
||||
dest: "traefik/config/dynamic_conf.yml"
|
||||
|
||||
- name: Update and restart container
|
||||
community.docker.docker_compose:
|
||||
project_src: traefik
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue