bootstrap-bridge: use hostname for play

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 is -- 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
Ian Wienand 4 months ago
parent 130df628ff
commit a481cb1be2
No known key found for this signature in database

@ -1,4 +1,4 @@
- hosts: localhost
- hosts:
connection: local
- name: Install root keys