fix file modes
This commit is contained in:
parent
d2a010678c
commit
383001d563
1 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
||||||
template:
|
template:
|
||||||
src: templates/ssh_ca.sh.j2
|
src: templates/ssh_ca.sh.j2
|
||||||
dest: "{{ ssh_ca_dir }}/ssh_ca.sh"
|
dest: "{{ ssh_ca_dir }}/ssh_ca.sh"
|
||||||
mode: 755
|
mode: 0755
|
||||||
|
|
||||||
- name: Create keys directory
|
- name: Create keys directory
|
||||||
file:
|
file:
|
||||||
|
@ -20,22 +20,22 @@
|
||||||
copy:
|
copy:
|
||||||
dest: "{{ ssh_ca_dir }}/keys/user_ca"
|
dest: "{{ ssh_ca_dir }}/keys/user_ca"
|
||||||
content: "{{ ssh_ca_user_ca_private_key }}"
|
content: "{{ ssh_ca_user_ca_private_key }}"
|
||||||
mode: 600
|
mode: 0600
|
||||||
|
|
||||||
- name: Copy host CA private key
|
- name: Copy host CA private key
|
||||||
copy:
|
copy:
|
||||||
dest: "{{ ssh_ca_dir }}/keys/host_ca"
|
dest: "{{ ssh_ca_dir }}/keys/host_ca"
|
||||||
content: "{{ ssh_ca_host_ca_private_key }}"
|
content: "{{ ssh_ca_host_ca_private_key }}"
|
||||||
mode: 600
|
mode: 0600
|
||||||
|
|
||||||
- name: Copy user CA public key
|
- name: Copy user CA public key
|
||||||
copy:
|
copy:
|
||||||
dest: "{{ ssh_ca_dir }}/keys/user_ca.pub"
|
dest: "{{ ssh_ca_dir }}/keys/user_ca.pub"
|
||||||
content: "{{ ssh_ca_user_ca_public_key }}"
|
content: "{{ ssh_ca_user_ca_public_key }}"
|
||||||
mode: 644
|
mode: 0644
|
||||||
|
|
||||||
- name: Copy host CA public key
|
- name: Copy host CA public key
|
||||||
copy:
|
copy:
|
||||||
dest: "{{ ssh_ca_dir }}/keys/host_ca.pub"
|
dest: "{{ ssh_ca_dir }}/keys/host_ca.pub"
|
||||||
content: "{{ ssh_ca_host_ca_public_key }}"
|
content: "{{ ssh_ca_host_ca_public_key }}"
|
||||||
mode: 644
|
mode: 0644
|
||||||
|
|
Reference in a new issue