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: Iefe82a20b0efce14e7ad3d0794e22882f81d8c8d
This commit is contained in:
parent
db45ff4977
commit
d08df5d06d
@ -45,10 +45,12 @@
|
|||||||
|
|
||||||
- name: Drop rootwrap filter(s)
|
- name: Drop rootwrap filter(s)
|
||||||
copy:
|
copy:
|
||||||
src: "rootwrap.d/sahara.filters"
|
src: "{{ item }}"
|
||||||
dest: "/etc/sahara/rootwrap.d/sahara.filters"
|
dest: "/etc/sahara/rootwrap.d/"
|
||||||
owner: "root"
|
owner: "root"
|
||||||
group: "root"
|
group: "root"
|
||||||
|
with_fileglob:
|
||||||
|
- rootwrap.d/*
|
||||||
notify:
|
notify:
|
||||||
- Restart sahara api
|
- Restart sahara api
|
||||||
- Restart sahara engine
|
- Restart sahara engine
|
||||||
|
Loading…
Reference in New Issue
Block a user