changed title and removed vars
This commit is contained in:
@@ -1,24 +1,11 @@
|
|||||||
---
|
---
|
||||||
- name: backup your homefolders to /mnt/backup everyday night
|
- name: Setup restic user and scripts.
|
||||||
hosts: all
|
hosts: all
|
||||||
become: yes
|
become: yes
|
||||||
remote_user: ansible
|
remote_user: ansible
|
||||||
gather_facts: false
|
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:
|
tasks:
|
||||||
- name: Create Restic user
|
- name: Create Restic user
|
||||||
user:
|
user:
|
||||||
|
|||||||
Reference in New Issue
Block a user