Add user and perms to generated hosts.d files
They should be owned by root, and have 0644 perms. Change-Id: Ibb5998a0137858dfa17f753aafae26a799c16fee
This commit is contained in:
parent
affd2eebf4
commit
9f0c08162a
@ -18,7 +18,7 @@
|
||||
# things that are not directly accessible or reasonable
|
||||
# to be inspected.
|
||||
- name: "Setup DHCP for nodes."
|
||||
template: src=dhcp-host.j2 dest=/etc/dnsmasq.d/bifrost.dhcp-hosts.d/{{ inventory_hostname }}
|
||||
template: src=dhcp-host.j2 dest=/etc/dnsmasq.d/bifrost.dhcp-hosts.d/{{ inventory_hostname }} owner=root group=root mode=0644
|
||||
delegate_to: localhost
|
||||
when: inventory_dhcp | bool
|
||||
become: yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user