mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-09 14:50:34 +00:00
Make devture-traefik to matrix-traefik migration code a little safer
This commit is contained in:
parent
26fdae3797
commit
6e3aab6594
@ -23,13 +23,13 @@
|
||||
enabled: false
|
||||
daemon_reload: true
|
||||
|
||||
- name: Ensure Traefik systemd service doesn't exist
|
||||
ansible.builtin.file:
|
||||
path: "{{ devture_systemd_docker_base_systemd_path }}/devture-traefik.service"
|
||||
state: absent
|
||||
|
||||
- name: Ensure Traefik directory relocated
|
||||
ansible.builtin.command:
|
||||
cmd: "mv /devture-traefik {{ devture_traefik_base_path }}"
|
||||
creates: "{{ devture_traefik_base_path }}"
|
||||
removes: "/devture-traefik"
|
||||
|
||||
- name: Ensure Traefik systemd service doesn't exist
|
||||
ansible.builtin.file:
|
||||
path: "{{ devture_systemd_docker_base_systemd_path }}/devture-traefik.service"
|
||||
state: absent
|
||||
|
Loading…
Reference in New Issue
Block a user