Fix for setting permissions on map-file

This commit is contained in:
David Shrewsbury 2015-03-04 11:14:34 -05:00
parent 9d31735a8c
commit 07269bfd23

View File

@ -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"