Explicitly set permissions to initrd inject file

This commit is contained in:
Timo Makinen 2022-10-31 18:39:26 +00:00
parent e6cc2636c4
commit 3013f4f65d

View file

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