run-production-bootstrap-bridge: use add-bastion-host
This playbook can use the add-bastion-host role to add the bastion host. This is one less place the bridge name is hard-coded. Change-Id: I5ad7f6f1ac9bdf9af59b835d8fd466c3ca276639
This commit is contained in:
parent
5795119373
commit
138a0302ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user