Restart OS services when symlinks are created
This commit adds a restart handler to the python library symlink tasks to ensure that the associated OS services are restarted when these change. This is needed specifically on upgrades where tasks which do restart OS services aren't being run (changed) because they were already done on install (such as install ceph apt packages). Change-Id: I394ed0e6af81985a50c0c7468de0071ade95de69
This commit is contained in:
parent
30520409a9
commit
814fe24ab1
@ -31,6 +31,8 @@
|
||||
dest: "{{ openstack_service_venv_bin | dirname }}/lib/python2.7/site-packages/{{ rados_module_path.stdout | basename }}"
|
||||
state: link
|
||||
force: "yes"
|
||||
notify:
|
||||
- Restart os services
|
||||
tags:
|
||||
- ceph-python-libs
|
||||
|
||||
@ -40,5 +42,7 @@
|
||||
dest: "{{ openstack_service_venv_bin | dirname }}/lib/python2.7/site-packages/{{ rbd_module_path.stdout | basename }}"
|
||||
state: link
|
||||
force: "yes"
|
||||
notify:
|
||||
- Restart os services
|
||||
tags:
|
||||
- ceph-python-libs
|
||||
|
Loading…
x
Reference in New Issue
Block a user