Trigger infra-prod-service-borg-backup when vars update
Previously we only triggered the backup job when playbooks and roles updated. Now that we are managing retirement and purging via host (and possibly group) vars update the job file triggers to execute when these files update too. Change-Id: Id4aa3a8ec4639d10238b3764d744a5ff206decce
This commit is contained in:
parent
e1f72f8fd2
commit
f6dc69511f
@ -1,3 +1,4 @@
|
||||
# Retire and purge old uneeded backups to recover disk space
|
||||
borg_retire_users:
|
||||
- borg-ethercalc02
|
||||
- borg-ask01
|
||||
|
@ -318,6 +318,10 @@
|
||||
playbook_name: service-borg-backup.yaml
|
||||
files:
|
||||
- inventory/base
|
||||
- inventory/service/host_vars/backup02.ca-ymq-1.vexxhost.opendev.org.yaml
|
||||
- inventory/service/host_vars/backup01.ord.rax.opendev.org.yaml
|
||||
- inventory/service/group_vars/borg-backup.yaml
|
||||
- inventory/service/group_vars/borg-backup-server.yaml
|
||||
- playbooks/service-borg-backup.yaml
|
||||
- playbooks/roles/install-borg/
|
||||
- playbooks/roles/borg-backup/
|
||||
|
Loading…
x
Reference in New Issue
Block a user