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:
Clark Boylan 2024-12-03 09:39:00 -08:00
parent e1f72f8fd2
commit f6dc69511f
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# Retire and purge old uneeded backups to recover disk space
borg_retire_users:
- borg-ethercalc02
- borg-ask01

View File

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