[ OVN ][Migration] Reload systemctl daemon after removal
After stopping and deleting the services if this role is runned again it could fail bc systemd has still some ovs services loaded (eventhough the service is stopped) this will cause that ansible will try to delete again and fail while trying to disable and delete the service. Change-Id: If51d7f25375768f8c60492c84d84e91d91886025
This commit is contained in:
parent
6a571f8068
commit
5ee94a5b9b
@ -9,6 +9,10 @@
|
||||
loop_var: service
|
||||
when: ansible_facts.services[service.service_file] is defined
|
||||
|
||||
- name: Reload systemctl daemons
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
|
||||
- name: remove containers
|
||||
become: yes
|
||||
shell: |
|
||||
|
Loading…
Reference in New Issue
Block a user