fix permissions on key files

This commit is contained in:
Pim Kunis 2023-04-25 17:05:24 +02:00
parent 11f2a4e93d
commit 527505f7ca

View file

@ -36,7 +36,7 @@
copy: copy:
src: "/tmp/{{ ssh_ca_key_name }}-cert.pub" src: "/tmp/{{ ssh_ca_key_name }}-cert.pub"
dest: "/etc/ssh/{{ ssh_ca_key_name }}-cert.pub" dest: "/etc/ssh/{{ ssh_ca_key_name }}-cert.pub"
mode: 0600 mode: 0644
when: not cert_state.stat.exists when: not cert_state.stat.exists
- name: Delete local public key - name: Delete local public key