File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ backups_role_b2_app_key:
8888Dependencies
8989------------
9090
91- * [coopdevs.ansible_restic ](https://github.com/coopdevs/restic-role)
91+ * [coopdevs.restic-role ](https://github.com/coopdevs/restic-role)
9292
9393Usage
9494-----
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ galaxy_info:
55
66 license : GPLv3
77
8- min_ansible_version : 2.4
8+ min_ansible_version : " 2.4"
99
1010 #
1111 # Provide a list of supported platforms, and for each platform a list of versions.
@@ -22,8 +22,8 @@ galaxy_info:
2222 - backups
2323
2424dependencies :
25- - name : coopdevs.ansible_restic
26- version : v1.0.0
25+ - name : coopdevs.restic-role
26+ version : v1.0.1
2727 # We don't want the role to run
2828 # when we import tasks from restore-to-controller,
2929 # as it is executed locally to the controller machine
Original file line number Diff line number Diff line change 7979
8080- name : Install restic and configure restic repository
8181 include_role :
82- name : vendor/coopdevs.ansible_restic
82+ name : vendor/coopdevs.restic-role
8383 vars :
8484 restic_version : " {{ backups_role_restic_version }}"
8585 restic_user : " {{ backups_role_user_name }}"
Original file line number Diff line number Diff line change 3030
3131 - name : Configure restic
3232 import_role :
33- name : coopdevs.ansible_restic
33+ name : coopdevs.restic-role
3434 tasks_from : preflight.yml
3535
3636 - name : Install restic using restic-role
3737 import_role :
38- name : coopdevs.ansible_restic
38+ name : coopdevs.restic-role
3939 tasks_from : install.yml
4040 vars :
41- - restic_install_path : " {{ work_path }}"
42- become : yes
41+ - restic_install_path : " {{ work_path }}"
42+ become : true
4343
4444 - name : Ensure directory for snapshot restore exists at the controller
4545 file :
4949
5050 - name : Render script template that wraps restic with credentials
5151 template :
52- src : ' ../vendor/coopdevs.ansible_restic /templates/restic.helper.j2'
52+ src : ' ../vendor/coopdevs.restic-role /templates/restic.helper.j2'
5353 dest : " {{ work_path }}/restic-{{ backups_role_restic_repo_name }}"
5454 mode : ' 0750'
5555 no_log : true
You can’t perform that action at this time.
0 commit comments