Merge "run_all.sh : add backup playbook"

This commit is contained in:
Zuul 2019-08-20 20:18:39 +00:00 committed by Gerrit Code Review
commit a934f91f17
2 changed files with 13 additions and 2 deletions

View File

@ -13,10 +13,17 @@ groups:
afsadmin: mirror-update[0-9]*.openstack.org
afsdb: afsdb[0-9]*.open*.org
ask: ask*.open*.org
# NOTE: By default we keep the backup-server group empty as an
# emergency escape hatch if a problem were to propage through
# production servers. However, this also means if you add a server to
# the "backup" group to be backed up, you should uncomment the
# "backup-server" group for an Ansible pulse so the users & keys are
# setup on the server(s). You can submit a follow-on change to revert
# this at the same time.
backup:
- review-dev[0-9]*.open*.org
backup-server:
- backup[0-9]*.opendev.org
# backup-server:
# - backup[0-9]*.opendev.org
cacti: cacti[0-9]*.open*.org
control-plane-clouds:
- bridge.openstack.org

View File

@ -117,6 +117,10 @@ start_timer
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-mirror.yaml
send_timer mirror
start_timer
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-backup.yaml
send_timer backup
start_timer
timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-registry.yaml
send_timer registry