Restart nova-placement service only when necessary
After the nova-placement service has been restarted, disable the need_service_restart fact to prevent unnecessary restarts on subsequent runs of the playbook. Change-Id: Ie55d5fd61d7e43d42dd4f6ea9e7269e43f8a11f6
This commit is contained in:
parent
51f5c15898
commit
fefcbcb794
@ -215,6 +215,7 @@
|
||||
vars:
|
||||
service_name: "nova-placement-api"
|
||||
service_action: "restarted"
|
||||
service_fact: "nova"
|
||||
when:
|
||||
- "nova_all_software_updated | bool"
|
||||
- "ansible_local['openstack_ansible']['nova']['need_service_restart'] | bool"
|
||||
|
Loading…
x
Reference in New Issue
Block a user