Setup TLS for Traefik

This commit is contained in:
2020-07-17 00:41:21 -04:00
parent c32d1bd31c
commit 943a1324b9
5 changed files with 57 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
- name: Restart Traefik container
docker_container:
name: "{{ traefik_name }}"
image: traefik:{{ traefik_version }}
restart: true
- name: Reload Traefik container
file:
path: "{{ traefik_root }}/config/dynamic/tls.yml"
state: touch
listen: reload_traefik