fix file modes

This commit is contained in:
Pim Kunis 2023-04-23 23:47:43 +02:00
parent d2a010678c
commit 383001d563

View file

@ -9,7 +9,7 @@
template:
src: templates/ssh_ca.sh.j2
dest: "{{ ssh_ca_dir }}/ssh_ca.sh"
mode: 755
mode: 0755
- name: Create keys directory
file:
@ -20,22 +20,22 @@
copy:
dest: "{{ ssh_ca_dir }}/keys/user_ca"
content: "{{ ssh_ca_user_ca_private_key }}"
mode: 600
mode: 0600
- name: Copy host CA private key
copy:
dest: "{{ ssh_ca_dir }}/keys/host_ca"
content: "{{ ssh_ca_host_ca_private_key }}"
mode: 600
mode: 0600
- name: Copy user CA public key
copy:
dest: "{{ ssh_ca_dir }}/keys/user_ca.pub"
content: "{{ ssh_ca_user_ca_public_key }}"
mode: 644
mode: 0644
- name: Copy host CA public key
copy:
dest: "{{ ssh_ca_dir }}/keys/host_ca.pub"
content: "{{ ssh_ca_host_ca_public_key }}"
mode: 644
mode: 0644