Explicitly set permissions to initrd inject file
This commit is contained in:
parent
e6cc2636c4
commit
3013f4f65d
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,9 @@
|
||||||
echo '{{ root_pubkey }}' > /root/.ssh/authorized_keys
|
echo '{{ root_pubkey }}' > /root/.ssh/authorized_keys
|
||||||
%end
|
%end
|
||||||
dest: "{{ tmpdir.path }}/include.ks"
|
dest: "{{ tmpdir.path }}/include.ks"
|
||||||
|
mode: 0600
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
delegate_to: "{{ vmhost }}"
|
delegate_to: "{{ vmhost }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname not in result.list_vms
|
- inventory_hostname not in result.list_vms
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue