mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-06-07 01:17:44 +02:00
remove conditional checks
This commit is contained in:
parent
9ec5105bc6
commit
d69d4860bb
@ -5,8 +5,6 @@
|
|||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Add cron-job for borgmatic
|
- name: Add cron-job for borgmatic
|
||||||
when:
|
|
||||||
- borgmatic_timer is defined and borgmatic_timer == "cron"
|
|
||||||
tags:
|
tags:
|
||||||
- install_backup
|
- install_backup
|
||||||
block:
|
block:
|
||||||
@ -25,8 +23,6 @@
|
|||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Set PATH for borgmatic cron job.
|
- name: Set PATH for borgmatic cron job.
|
||||||
when:
|
|
||||||
- borgmatic_timer is defined and borgmatic_timer == "cron"
|
|
||||||
tags:
|
tags:
|
||||||
- install_backup
|
- install_backup
|
||||||
cron:
|
cron:
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
---
|
---
|
||||||
- name: Create borgbackup timer
|
- name: Create borgbackup timer
|
||||||
when:
|
|
||||||
- borgmatic_timer is defined
|
|
||||||
- borgmatic_timer == "systemd"
|
|
||||||
tags:
|
tags:
|
||||||
- install_backup
|
- install_backup
|
||||||
block:
|
block:
|
||||||
|
Loading…
Reference in New Issue
Block a user