From 07269bfd23f2fba37a87b3715e2c3e40703078e2 Mon Sep 17 00:00:00 2001 From: David Shrewsbury Date: Wed, 4 Mar 2015 11:14:34 -0500 Subject: [PATCH] Fix for setting permissions on map-file --- setup/install.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/install.yaml b/setup/install.yaml index 14e5362de..a5c22161d 100644 --- a/setup/install.yaml +++ b/setup/install.yaml @@ -179,12 +179,15 @@ # TODO: this should not be shell, fix - name: "Set a tftpd mapfile" local_action: shell echo 'r ^([^/]) /tftpboot/\1' > /tftpboot/map-file + - name: "Setting file permissions" + local_action: file name={{item}} owner=ironic group=ironic state=file + with_items: + - /tftpboot/map-file - name: "Setting up PXE and iPXE folders" local_action: file name={{item}} owner=ironic group=ironic state=directory with_items: - /tftpboot - /tftpboot/pxelinux.cfg - - /tftpboot/map-file - "{{ http_boot_folder }}" # TODO: This should not be shell, fix. - name: "Disable tftpd-hpa by setting it to manual start"