remove conditional checks

This commit is contained in:
Frank Dornheim 2023-03-19 01:05:00 +01:00
parent 9ec5105bc6
commit d69d4860bb
2 changed files with 0 additions and 7 deletions

View File

@ -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:

View File

@ -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: