|
|
|
@@ -7,7 +7,7 @@ |
|
|
|
# The Traefik role itself (running later) will then ensure this data is up-to-date and will set up the new systemd service. |
|
|
|
|
|
|
|
# It only makes sense to migrate if the identifier or path are different than the default (what we were using before). |
|
|
|
- when: "devture_traefik_identifier != 'devture-postgres' or devture_traefik_base_path != '/devture-traefik'" |
|
|
|
- when: "devture_traefik_identifier != 'devture-traefik' or devture_traefik_base_path != '/devture-traefik'" |
|
|
|
block: |
|
|
|
- name: Check existence of devture-traefik.service systemd service |
|
|
|
ansible.builtin.stat: |
|
|
|
|