Remove rsync requirement for cinder
We used rsync to synchronize filters from rootwrap.d. However, with smart-source that is not needed anymore, since /etc/cinder is simply a symlink to the source directory of rsync. We still need os-brick rootwrap linkage though. Change-Id: Ib1571c5be67155b584c412da8336de49bc80d948
This commit is contained in:
parent
492e519b98
commit
369f01589c
@ -43,16 +43,3 @@
|
||||
dest: /etc/cinder/rootwrap.d/os-brick.filters
|
||||
state: link
|
||||
ignore_errors: "{{ ansible_check_mode }}"
|
||||
|
||||
- name: Copy cinder rootwrap filters
|
||||
command: >-
|
||||
rsync --archive --itemize-changes --delete
|
||||
/openstack/venvs/cinder-{{ cinder_venv_tag }}/etc/cinder/rootwrap.d/
|
||||
/etc/cinder/rootwrap.d/
|
||||
args:
|
||||
warn: no
|
||||
register: _copy_rootwraps
|
||||
changed_when: _copy_rootwraps.stdout | length > 0
|
||||
notify:
|
||||
- Restart cinder services
|
||||
- Restart uwsgi services
|
||||
|
@ -24,7 +24,6 @@ tgt_service_name: tgt
|
||||
cinder_distro_packages:
|
||||
- libkmod2
|
||||
- libxml2
|
||||
- rsync
|
||||
- zlib1g
|
||||
|
||||
cinder_service_distro_packages:
|
||||
|
@ -19,7 +19,6 @@ tgt_service_name: iscsid
|
||||
# Common yum packages
|
||||
cinder_distro_packages:
|
||||
- iscsi-initiator-utils
|
||||
- rsync
|
||||
- kmod-libs
|
||||
- libxml2
|
||||
- which
|
||||
|
Loading…
Reference in New Issue
Block a user