Merge "Add read and execute perms to httpboot and tftpboot folder"
This commit is contained in:
commit
3c889a2601
@ -123,3 +123,10 @@
|
|||||||
command: ramdisk-image-create {{dib_arglist}}
|
command: ramdisk-image-create {{dib_arglist}}
|
||||||
environment: "{{ dib_env_vars }}"
|
environment: "{{ dib_env_vars }}"
|
||||||
when: build_ramdisk | bool == true and test_image_present.stat.exists == false and test_image_dib_present.stat.exists == false and test_image_initramfs_present.stat.exists == false
|
when: build_ramdisk | bool == true and test_image_present.stat.exists == false and test_image_dib_present.stat.exists == false and test_image_initramfs_present.stat.exists == false
|
||||||
|
- name: "Update permission of generated image"
|
||||||
|
file:
|
||||||
|
path: "{{ http_boot_folder }}"
|
||||||
|
mode: u=rwX,g=rX,o=rX
|
||||||
|
recurse: yes
|
||||||
|
state: directory
|
||||||
|
when: http_boot_folder is defined and http_boot_folder != ''
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
---
|
---
|
||||||
- name: "Set up PXE and iPXE folders"
|
- name: "Set up PXE and iPXE folders"
|
||||||
file: name={{item}} owner=ironic group=ironic state=directory
|
file: name={{item}} owner=ironic group=ironic state=directory mode=0755
|
||||||
with_items:
|
with_items:
|
||||||
- /tftpboot
|
- /tftpboot
|
||||||
- /tftpboot/pxelinux.cfg
|
- /tftpboot/pxelinux.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user