Update rootwrap filter copy for easier maintenance
Update the rootwrap filter config file copy task to handle looking up rootwrap filter files using 'with_fileglob' to avoid having to maintain the task with each addition or removal of these files. Change-Id: I157cbc4b71c3a2f994ef6542a3c31c6279cd6ca9
This commit is contained in:
parent
640b768e3d
commit
1e2d1c097c
@ -44,12 +44,14 @@
|
||||
notify:
|
||||
- Restart cinder services
|
||||
|
||||
- name: Drop cinder configs
|
||||
- name: Copy cinder configs
|
||||
copy:
|
||||
src: "rootwrap.d/volume.filters"
|
||||
dest: "/etc/cinder/rootwrap.d/volume.filters"
|
||||
src: "{{ item }}"
|
||||
dest: "/etc/cinder/rootwrap.d/"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
with_fileglob:
|
||||
- rootwrap.d/*
|
||||
notify:
|
||||
- Restart cinder services
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user