
The idea with this role is to install the root key from the on-disk RSA secret. However, when this play runs against localhost it doesn't match the host-variable defined root_rsa_key. This is being run nested -- the executor Ansible task has forked the Ansible we have installed on the bridge which is now installing this. "connection: local" does what we want here -- it makes ansible assume bridge.openstack.org is 127.0.0.1 -- which it is -- and avoids us having to worry about the bootstrap ssh-ing back to itself. This is a fixup for Iebaeed5028050d890ab541818f405978afd60124 Change-Id: I4cdcc373d1b7b6fa542a78c9f84067c79352d2f6
7 lines
133 B
YAML
7 lines
133 B
YAML
- hosts: bridge.openstack.org
|
|
connection: local
|
|
tasks:
|
|
- name: Install root keys
|
|
include_role:
|
|
name: root-keys
|