Flag glance service for restart after updates
In order for a load balancer to know that a service should be drained, we must set a flag within the role communicating the update. Change-Id: I743089b9a4f13ce974cbeb9cc91b67b013f2f323
This commit is contained in:
parent
647c4e33f1
commit
181c1f5eec
@ -114,6 +114,16 @@
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ glance_bin | dirname }}
|
||||
when: glance_get_venv | changed
|
||||
|
||||
- name: Record the need for a service restart
|
||||
ini_file:
|
||||
dest: "/etc/ansible/facts.d/openstack_ansible.fact"
|
||||
section: glance
|
||||
option: need_service_restart
|
||||
value: True
|
||||
when: glance_get_venv | changed or
|
||||
glance_venv_dir | changed or
|
||||
install_packages | changed
|
||||
|
||||
- name: Record the venv tag deployed
|
||||
ini_file:
|
||||
dest: "/etc/ansible/facts.d/openstack_ansible.fact"
|
||||
|
Loading…
x
Reference in New Issue
Block a user