mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-11-09 13:23:30 +01:00
rename some tasks
This commit is contained in:
parent
25ee60fb5a
commit
770598ffca
3 changed files with 6 additions and 5 deletions
|
@ -2,18 +2,18 @@
|
|||
- name: add OS specific variables
|
||||
ansible.builtin.include_vars: "{{ lookup('first_found', restic_os_variables) }}"
|
||||
|
||||
- name: perform versionscheck
|
||||
- name: perform optional versionscheck
|
||||
ansible.builtin.include_tasks: 'versioncheck.yml'
|
||||
when: submodules_versioncheck|bool
|
||||
when: submodules_versioncheck | bool
|
||||
|
||||
- name: make sure restic is available
|
||||
ansible.builtin.include_tasks: 'preperation.yml'
|
||||
|
||||
- name: Install restic
|
||||
- name: make sure restic is installed
|
||||
ansible.builtin.include_tasks: 'install.yml'
|
||||
when: not restic_executable.stat.exists or not restic_installed.stat.exists
|
||||
|
||||
- name: Configure restic
|
||||
- name: initialize restic repo(s)
|
||||
ansible.builtin.include_tasks: 'configure.yml'
|
||||
|
||||
- name: create backup script
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- name: Ensure restic directories exist
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
state: 'directory'
|
||||
path: '{{ item }}'
|
||||
|
|
|
@ -10,5 +10,5 @@ restic_os_variables:
|
|||
paths:
|
||||
- 'vars'
|
||||
|
||||
playbook_version_number: 20 # should be int
|
||||
playbook_version_number: 21 # should be int
|
||||
playbook_version_path: 'do1jlr.restic.version'
|
||||
|
|
Loading…
Reference in a new issue