[FIX] misc centos issues
This commit is contained in:
parent
24a10d19a9
commit
4c11ea5dfe
6 changed files with 71 additions and 37 deletions
|
|
@ -10,7 +10,12 @@
|
|||
with_first_found:
|
||||
- "borgbackup-{{ ansible_distribution }}.{{ ansible_distribution_release }}.yml"
|
||||
- "borgbackup-{{ ansible_distribution }}.yml"
|
||||
- "borgbackup-{{ ansible_os_family }}.yml"
|
||||
- "borgbackup-{{ (override_os_family is defined) | ternary(override_os_family,ansible_os_family) }}.yml"
|
||||
ignore_errors: true
|
||||
when:
|
||||
- borgbackup_passphrase is defined
|
||||
- borgbackup_repo is defined
|
||||
- borgbackup_hostname is defined
|
||||
|
||||
# copy backup script and enable cronjob
|
||||
- name: borgbackup - Copy Borgbackup script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue