vm-ansible/roles/backupscript/tasks/main.yaml
Kristóf Torma 52f7e7e153
Some checks failed
continuous-integration/drone/push Build is failing
remove fqdn
2023-08-30 23:13:59 +02:00

23 lines
388 B
YAML

---
- name: "Generate backupscript"
template:
src: backupscript.sh
dest: /etc/cron.weekly/backupscript
owner: root
group: root
mode: '0700'
- name: Create .ssh directory of root user
file:
path: /root/.ssh
state: directory
- name: Copy ssh config
copy:
src: ssh_config
dest: /root/.ssh/config
mode: 0600
owner: root
group: root
...