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
|
||||
%end
|
||||
dest: "{{ tmpdir.path }}/include.ks"
|
||||
mode: 0600
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
delegate_to: "{{ vmhost }}"
|
||||
when:
|
||||
- inventory_hostname not in result.list_vms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue