sort when
This commit is contained in:
parent
0aab59def4
commit
e59d0c5048
@ -1,13 +1,20 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- include: install.yml
|
- include: install.yml
|
||||||
when: backup_required == True or inventory_hostname in groups.backupservers or restore == True
|
when: >
|
||||||
|
backup_required == True or
|
||||||
|
inventory_hostname in groups.backupservers or
|
||||||
|
restore == True
|
||||||
|
|
||||||
- include: borg-server.yml
|
- include: borg-server.yml
|
||||||
when: inventory_hostname in groups.backupservers
|
when: inventory_hostname in groups.backupservers
|
||||||
|
|
||||||
- include: borg-client.yml
|
- include: borg-client.yml
|
||||||
when: backup_required == True and inventory_hostname not in groups.backupservers
|
when: >
|
||||||
|
backup_required == True and
|
||||||
|
inventory_hostname not in groups.backupservers
|
||||||
|
|
||||||
- include: restore.yml
|
- include: restore.yml
|
||||||
when: restore == True and inventory_hostname not in groups.backupservers
|
when: >
|
||||||
|
restore == True and
|
||||||
|
inventory_hostname not in groups.backupservers
|
||||||
|
Loading…
Reference in New Issue
Block a user