diff --git a/tasks/main.yml b/tasks/main.yml index b12f489..d8da5fa 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -44,9 +44,9 @@ mode: '0644' tags: config -- name: Configure SSL +- name: Configure SSL (if no existing certificates are found on the server) copy: - content: "" + content: "{}" force: no dest: "{{ traefik_install_path }}/traefik/acme.json" mode: 0600 diff --git a/templates/docker-compose.traefik.yml.j2 b/templates/docker-compose.traefik.yml.j2 index aaf4bef..1beed3b 100644 --- a/templates/docker-compose.traefik.yml.j2 +++ b/templates/docker-compose.traefik.yml.j2 @@ -8,7 +8,7 @@ networks: services: # Load Balancer / SSL / Web Server revproxy: - image: traefik:v2.2 + image: traefik:v2.5 restart: unless-stopped networks: - public