organize host files better

main
Ricard Illa 2022-09-06 10:12:25 +02:00
parent ba6a8708c2
commit e6690ae2d1
13 changed files with 3 additions and 3 deletions

View File

@ -1,21 +1,21 @@
---
- name: ssh_host_ed25519_key-cert.pub
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"
mode: '0644'
owner: root
- name: ssh_host_ed25519_key.pub
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"
mode: '0644'
owner: root
- name: ssh_host_ed25519_key
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"
mode: '0600'
owner: root