copy stuff

This commit is contained in:
2022-04-16 21:17:11 +02:00
parent ad4dac649e
commit cfd20456ac
4 changed files with 22 additions and 0 deletions

View File

@ -38,4 +38,20 @@
service:
name: sshd
state: restarted
- name: Copy authorized_keys
copy:
src: authorized_keys
dest: /home/backup/.ssh/authorized_keys
mode: 0600
owner: backup
group: backup
- name: Copy ssh config
copy:
src: ssh_config
dest: /home/backup/.ssh/config
mode: 0600
owner: backup
group: backup
...