Merge "run-production-bootstrap-bridge: use add-bastion-host"

This commit is contained in:
Zuul 2022-11-06 23:12:32 +00:00 committed by Gerrit Code Review
commit b78dc08f69

View File

@ -1,17 +1,5 @@
- hosts: localhost
tasks:
- name: Add bridge.o.o to inventory for playbook
add_host:
name: bridge01.opendev.org
groups: 'bastion'
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: bridge01.opendev.org
ansible_port: 22
# Port 19885 is firewalled
zuul_console_disabled: true
roles:
- add-bastion-host
- import_playbook: ../bootstrap-bridge.yaml