Revert "infra-prod-setup-keys: drop inventory add"
This reverts commit 70827542ad
.
Change-Id: Id3b9dd28b775fffd4e4c5ec43754bfc12430f6d2
This commit is contained in:
parent
70827542ad
commit
38a3a7febc
|
@ -1,5 +1,16 @@
|
|||
- hosts: localhost
|
||||
tasks:
|
||||
- name: Add bridge.o.o to inventory
|
||||
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
|
||||
|
||||
- name: Add bridge.o.o hostkey to known hosts
|
||||
known_hosts:
|
||||
name: bridge.openstack.org
|
||||
|
|
Loading…
Reference in New Issue