Skip to content

Commit beb23b4

Browse files
authored
Merge pull request #49 from coopdevs/fix/use-last-version-of-restic-role
Use last version of restic-role
2 parents 208e230 + 7916d28 commit beb23b4

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ backups_role_b2_app_key:
8888
Dependencies
8989
------------
9090
91-
* [coopdevs.ansible_restic](https://github.com/coopdevs/restic-role)
91+
* [coopdevs.restic-role](https://github.com/coopdevs/restic-role)
9292
9393
Usage
9494
-----

meta/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

2424
dependencies:
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

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
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 }}"

tasks/restore-to-controller.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@
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:
@@ -49,7 +49,7 @@
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

0 commit comments

Comments
 (0)