From 9f0c08162a41b76f19ddfae79ae403b47ab81113 Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Fri, 18 Dec 2015 11:32:19 +0100 Subject: [PATCH] Add user and perms to generated hosts.d files They should be owned by root, and have 0644 perms. Change-Id: Ibb5998a0137858dfa17f753aafae26a799c16fee --- playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml b/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml index 47885137c..c3e3bb1e0 100644 --- a/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml +++ b/playbooks/roles/bifrost-deploy-nodes-dynamic/tasks/main.yml @@ -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