diff --git a/tasks/main.yml b/tasks/main.yml index cf78d67..4ec548b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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