Stop arbitrary shutting down services
It looks like services are shut down for no reason if we're running a migration which can mean they will never be started back up if a playbook fails. This patch stops shutting down services for no reason as most likely the service will be restarted after the packages change. Change-Id: If4214abf928711c364d7962a0369db4a69a4440f
This commit is contained in:
parent
4d3c71ec5b
commit
19fc9a13ed
@ -39,17 +39,8 @@
|
|||||||
- "%"
|
- "%"
|
||||||
no_log: True
|
no_log: True
|
||||||
|
|
||||||
# Update is offline
|
|
||||||
- name: Stop octavia services
|
|
||||||
service:
|
|
||||||
name: "{{ item.value.service_name }}"
|
|
||||||
state: "stopped"
|
|
||||||
with_dict: "{{ octavia_services }}"
|
|
||||||
|
|
||||||
- name: Perform a octavia DB sync
|
- name: Perform a octavia DB sync
|
||||||
command: "{{ octavia_bin }}/octavia-db-manage upgrade head"
|
command: "{{ octavia_bin }}/octavia-db-manage upgrade head"
|
||||||
become: yes
|
become: yes
|
||||||
become_user: "{{ octavia_system_user_name }}"
|
become_user: "{{ octavia_system_user_name }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
notify: Start octavia services
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user