run-production-playbook-post: add bridge for playbook

I3e99b80e442db0cc87f8e8c9728b7697a5e4d1d3 added this to ensure that we
always collect logs.  However, since this doesn't have bridge
dynamically defined in the playbook, it doesn't run any of the steps.
On the plus side, it doesn't error either.

Change-Id: I97beecbc48c83b9dea661a61e21e0d0d29ca4733
This commit is contained in:
Ian Wienand 2022-07-15 12:46:56 +10:00
parent 21efe11eed
commit e5b623dd16

View File

@ -1,3 +1,16 @@
- hosts: localhost
tasks:
- name: Add bridge.o.o to inventory for playbook
add_host:
name: bridge.openstack.org
ansible_python_interpreter: python3
ansible_user: zuul
# Without setting ansible_host directly, mirror-workspace-git-repos
# gets sad because if delegate_to localhost and with add_host that
# ends up with ansible_host being localhost.
ansible_host: bridge.openstack.org
ansible_port: 22
- hosts: bridge.openstack.org
tasks:
- name: Encrypt log