diff --git a/roles/lib/setup-restic.yml b/roles/lib/setup-restic.yml index a7ee209..2955f52 100644 --- a/roles/lib/setup-restic.yml +++ b/roles/lib/setup-restic.yml @@ -1,24 +1,11 @@ --- -- name: backup your homefolders to /mnt/backup everyday night +- name: Setup restic user and scripts. hosts: all become: yes remote_user: ansible gather_facts: false - 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 Restic user user: