Copy rootwrap.d config files in source installs only
The rootwrap.d files are shipped directly from the distro so there is no need to copy the locally vendored files. Change-Id: I080a661cf52938c0fc68f635cfe8567c6eac45ec
This commit is contained in:
parent
17c516700f
commit
63a7567701
|
@ -92,6 +92,18 @@
|
|||
- Manage LB
|
||||
- Restart cinder services
|
||||
|
||||
- name: Copy cinder configs
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: "/etc/cinder/rootwrap.d/"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
with_fileglob:
|
||||
- rootwrap.d/*
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart cinder services
|
||||
|
||||
- name: Remove python from path first (CentOS, openSUSE)
|
||||
file:
|
||||
path: "{{ cinder_bin | dirname }}/bin/python2.7"
|
||||
|
|
|
@ -43,18 +43,6 @@
|
|||
- Manage LB
|
||||
- Restart cinder services
|
||||
|
||||
- name: Copy cinder configs
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: "/etc/cinder/rootwrap.d/"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
with_fileglob:
|
||||
- rootwrap.d/*
|
||||
notify:
|
||||
- Manage LB
|
||||
- Restart cinder services
|
||||
|
||||
- name: Ensure cinder tgt include
|
||||
lineinfile:
|
||||
dest: /etc/tgt/targets.conf
|
||||
|
|
Loading…
Reference in New Issue