Commit d451fe69 authored by Pietsch, Martin's avatar Pietsch, Martin

removed owner and group from setimage

parent e5a9a187
--- ---
- import_tasks: _init.yml
- name: set image file for host {{ pxelinux_image_boothost }} - name: set image file for host {{ pxelinux_image_boothost }}
copy: copy:
src: "{{ '%s/pxelinux.cfg/%s-%s-%s' | format(pxelinux_root_path, pxelinux_image_distribution, pxelinux_image_release, pxelinux_image_architecture) }}" src: "{{ '%s/pxelinux.cfg/%s-%s-%s' | format(pxelinux_root_path, pxelinux_image_distribution, pxelinux_image_release, pxelinux_image_architecture) }}"
dest: "{{ '%s/pxelinux.cfg/01-%s' | format(pxelinux_root_path, hostvars[pxelinux_image_boothost].network.devices[host.network.control_device].mac | replace(':','-')) }}" dest: "{{ '%s/pxelinux.cfg/01-%s' | format(pxelinux_root_path, hostvars[pxelinux_image_boothost].network.devices[host.network.control_device].mac | replace(':','-')) }}"
owner: "{{ _pxelinux_file_owner }}"
group: "{{ _pxelinux_file_group }}"
mode: 0644 mode: 0644
remote_src: yes remote_src: yes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment