Set ansible_host explicitly

Pass the ansible_host variable explicitly to mirror-workspace-git-repos
because for some reason it's confused and getting localhost.

Change-Id: I8a30b98a6eef168d11d4d580de359546ee1da252
This commit is contained in:
Monty Taylor 2020-04-16 08:06:45 -05:00
parent 80222eabbd
commit 34c8e161b7
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@
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: localhost