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: I2d3ccabb9df4efa8354c1f3fb5af30669160128f
This commit is contained in:
parent
a900e8cd96
commit
569fdbb7c5
@ -43,10 +43,12 @@
|
||||
config_type: "ini"
|
||||
notify: Restart designate services
|
||||
|
||||
- name: Copy designate rootwrap filter config
|
||||
- name: Copy rootwrap filters
|
||||
copy:
|
||||
src: "rootwrap.d/bind9.filters"
|
||||
dest: "/etc/designate/rootwrap.d/bind9.filters"
|
||||
src: "{{ item }}"
|
||||
dest: "/etc/designate/rootwrap.d/"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
with_fileglob:
|
||||
- rootwrap.d/*
|
||||
notify: Restart designate services
|
||||
|
Loading…
x
Reference in New Issue
Block a user