diff --git a/tasks/main.yml b/tasks/main.yml index c6f54a4..64e336a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -24,7 +24,7 @@ - name: Create letsencrypt folder file: - path: /etc/traefik + path: /etc/traefik/config state: directory mode: 0775 recurse: yes diff --git a/templates/traefik.yaml.j2 b/templates/traefik.yaml.j2 index 538a0f4..1328e1b 100644 --- a/templates/traefik.yaml.j2 +++ b/templates/traefik.yaml.j2 @@ -15,7 +15,9 @@ providers: docker: endpoint: "unix:///var/run/docker.sock" network: systemd-traefik - + file: + directory: /etc/traefik/config + watch: true # API and dashboard configuration api: