style: make ansible-lint happier
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
---
|
||||
|
||||
## TEMP
|
||||
- name: remove borg
|
||||
include_tasks: remove_borg.yml
|
||||
- name: Remove borg
|
||||
ansible.builtin.include_tasks: remove_borg.yml
|
||||
|
||||
- name: install restic
|
||||
include_tasks: install.yml
|
||||
- name: Install restic
|
||||
ansible.builtin.include_tasks: install.yml
|
||||
|
||||
- name: put backup script
|
||||
template:
|
||||
- name: Put backup script
|
||||
ansible.builtin.template:
|
||||
src: resticbackup.sh.j2
|
||||
dest: "{{ restic_script_path }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0750'
|
||||
|
||||
- name: cron the backup script
|
||||
cron:
|
||||
- name: Cron the backup script
|
||||
ansible.builtin.cron:
|
||||
name: "restic backup script"
|
||||
hour: "{{ restic_backup_hour }}"
|
||||
minute: "{{ restic_backup_minute }}"
|
||||
job: "{{ restic_script_path }}"
|
||||
|
||||
- name: init restic
|
||||
shell:
|
||||
- name: Init restic
|
||||
ansible.builtin.command:
|
||||
cmd: "restic init && restic stats"
|
||||
creates: "/root/.cache/restic"
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user