Skip to content

Commit

Permalink
Replace paulfantom restic role because of no maintenace
Browse files Browse the repository at this point in the history
  • Loading branch information
konykon committed Aug 14, 2023
1 parent 00d2514 commit e792590
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ install:

script:
# Check the role/playbook's syntax.
- ansible-galaxy install paulfantom.restic
- ansible-galaxy install coopdevs.ansible_restic
- ansible-playbook -i tests/inventory tests/test.yml --syntax-check
- ansible-lint tasks/ handlers/
- yamllint -c .yamllint.yaml .
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Backup and restore strategies for Coopdevs projects.
Requirements
------------

This role uses [Restic](https://restic.net) with the help of [restic-ansible](https://github.com/paulfantom/ansible-restic)
This role uses [Restic](https://restic.net) with the help of [restic-ansible](https://github.com/coopdevs/restic-role)

Role Variables
--------------
Expand Down Expand Up @@ -88,7 +88,7 @@ backups_role_b2_app_key:
Dependencies
------------
* [paulfantom.restic](https://galaxy.ansible.com/paulfantom/restic)
* [coopdevs.ansible_restic](https://github.com/coopdevs/restic-role)
Usage
-----
Expand Down
3 changes: 1 addition & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ galaxy_info:
- backups

dependencies:
- name: paulfantom.restic
version: 0.13.0
- name: coopdevs.ansible_restic
# We don't want the role to run
# when we import tasks from restore-to-controller,
# as it is executed locally to the controller machine
Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

- name: Install restic and configure restic repository
include_role:
name: vendor/paulfantom.restic
name: vendor/coopdevs.ansible_restic
vars:
restic_version: "{{ backups_role_restic_version }}"
restic_user: "{{ backups_role_user_name }}"
Expand Down
6 changes: 3 additions & 3 deletions tasks/restore-to-controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@

- name: Configure restic
import_role:
name: paulfantom.restic
name: coopdevs.ansible_restic
tasks_from: preflight.yml

- name: Install restic using restic-role
import_role:
name: paulfantom.restic
name: coopdevs.ansible_restic
tasks_from: install.yml
vars:
- restic_install_path: "{{ work_path }}"
Expand All @@ -49,7 +49,7 @@

- name: Render script template that wraps restic with credentials
template:
src: '../vendor/paulfantom.restic/templates/restic.helper.j2'
src: '../vendor/coopdevs.ansible_restic/templates/restic.helper.j2'
dest: "{{ work_path }}/restic-{{ backups_role_restic_repo_name }}"
mode: '0750'
no_log: true
Expand Down

0 comments on commit e792590

Please sign in to comment.