system-config/playbooks/zuul/roles/add-bastion-host/tasks/main.yaml

14 lines
514 B
YAML

- name: Add bastion host to inventory for production playbook
add_host:
name: 'bridge01.opendev.org'
groups: 'prod_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