mirror of
https://github.com/luzifer-ansible/docker-compose.git
synced 2024-11-09 14:00:05 +00:00
Remove migration steps
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
98eae245aa
commit
c7bd5a3c9b
1 changed files with 0 additions and 13 deletions
|
@ -37,19 +37,6 @@
|
|||
|
||||
# Install and start services
|
||||
|
||||
- name: '[Migration] Check multi-user.target dependency of service'
|
||||
command: grep -Fxq 'WantedBy=multi-user.target' /etc/systemd/system/docker-compose.service
|
||||
register: docker_compose_olddep
|
||||
check_mode: no
|
||||
ignore_errors: yes
|
||||
changed_when: no
|
||||
|
||||
- name: '[Migration] Disable service still WantedBy=multi-user.target'
|
||||
systemd:
|
||||
name: docker-compose.service
|
||||
enabled: no
|
||||
when: docker_compose_olddep.rc == 0
|
||||
|
||||
- name: Install docker-compose.service
|
||||
copy:
|
||||
dest: /etc/systemd/system/docker-compose.service
|
||||
|
|
Loading…
Reference in a new issue