mirror of https://dev.ccchb.de/ccchb/ansible.git
Use path variables for restic. Changes #31
This commit is contained in:
parent
b00f1a4c44
commit
e7eeb4039a
|
@ -5,7 +5,7 @@
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
|
||||||
- name: Restart restic
|
- name: Restart restic
|
||||||
command: s6-svc -wU -T 5000 -ru /run/service/restic
|
command: s6-svc -wU -T 5000 -ru {{ s6_scan_dir }}/restic
|
||||||
|
|
||||||
- name: Restart restic-log
|
- name: Restart restic-log
|
||||||
command: s6-svc -wU -T 5000 -ru /run/service/restic-log
|
command: s6-svc -wU -T 5000 -ru {{ s6_scan_dir }}/restic-log
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- name: Start restic renew service
|
- name: Start restic renew service
|
||||||
command: fdmove -c 2 1 s6-rc -u -v 2 change restic
|
command: fdmove -c 2 1 s6-rc -l {{ s6_live_dir }} -u -v 2 change restic
|
||||||
register: change
|
register: change
|
||||||
changed_when: change.stdout | length > 0
|
changed_when: change.stdout | length > 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue