organize host files better
parent
ba6a8708c2
commit
e6690ae2d1
|
@ -1,21 +1,21 @@
|
||||||
---
|
---
|
||||||
- name: ssh_host_ed25519_key-cert.pub
|
- name: ssh_host_ed25519_key-cert.pub
|
||||||
copy:
|
copy:
|
||||||
src: "host_files/{{ ansible_hostname }}/ssh_host_ed25519_key-cert.pub"
|
src: "host_files/ssh/{{ ansible_hostname }}/ssh_host_ed25519_key-cert.pub"
|
||||||
dest: "/etc/ssh/ssh_host_ed25519_key-cert.pub"
|
dest: "/etc/ssh/ssh_host_ed25519_key-cert.pub"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
owner: root
|
owner: root
|
||||||
|
|
||||||
- name: ssh_host_ed25519_key.pub
|
- name: ssh_host_ed25519_key.pub
|
||||||
copy:
|
copy:
|
||||||
src: "host_files/{{ ansible_hostname }}/ssh_host_ed25519_key.pub"
|
src: "host_files/ssh/{{ ansible_hostname }}/ssh_host_ed25519_key.pub"
|
||||||
dest: "/etc/ssh/ssh_host_ed25519_key.pub"
|
dest: "/etc/ssh/ssh_host_ed25519_key.pub"
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
owner: root
|
owner: root
|
||||||
|
|
||||||
- name: ssh_host_ed25519_key
|
- name: ssh_host_ed25519_key
|
||||||
copy:
|
copy:
|
||||||
src: "host_files/{{ ansible_hostname }}/ssh_host_ed25519_key"
|
src: "host_files/ssh/{{ ansible_hostname }}/ssh_host_ed25519_key"
|
||||||
dest: "/etc/ssh/ssh_host_ed25519_key"
|
dest: "/etc/ssh/ssh_host_ed25519_key"
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
owner: root
|
owner: root
|
||||||
|
|
Loading…
Reference in New Issue