2020-07-17 04:41:21 +00:00
|
|
|
- name: Reload Traefik container
|
2023-05-04 03:42:55 +00:00
|
|
|
ansible.builtin.file:
|
2020-07-17 04:52:55 +00:00
|
|
|
path: "{{ traefik_root }}/config/dynamic"
|
2020-07-17 04:41:21 +00:00
|
|
|
state: touch
|
2023-05-04 05:20:22 +00:00
|
|
|
mode: 0500
|
2020-07-17 04:41:21 +00:00
|
|
|
listen: reload_traefik
|
2020-09-03 23:00:27 +00:00
|
|
|
|
2023-04-21 07:04:53 +00:00
|
|
|
- name: Restart Traefik
|
2023-05-04 03:42:55 +00:00
|
|
|
ansible.builtin.service:
|
2023-04-21 07:04:53 +00:00
|
|
|
name: "{{ docker_compose_service }}@{{ traefik_name }}"
|
|
|
|
state: restarted
|
2020-09-03 23:00:27 +00:00
|
|
|
listen: restart_traefik
|