move nesting to features sub group

This commit is contained in:
tolerryan
2024-10-13 07:42:53 -05:00
parent 9ec2f4f551
commit 6f7f37d9bc

View File

@@ -0,0 +1,29 @@
---
- name: backup your homefolders to /mnt/backup everyday night
hosts: all
vars:
restic_create_schedule: true
restic_repos:
misamisa:
location: sftp:misamisa://home/restic/
password: 'ChangM3'
init: true
restic_backups:
home:
name: home
repo: misamisa
src: /home/
scheduled: true
schedule_oncalendar: '*-*-* 01:00:00'
tasks:
- name: Create SSH config file
copy:
dest: /home/docker/.ssh/config
content: |
Hostname misamisa.duckdns.org
Port 25456
User restic
IdentityFile vm
owner: docker
group: docker
mode: '0640'