There are over 490 .yaml files but only a few .yml, let's rename to be
consistent.
Add a test to block .yml files.
Change-Id: I2f1354de82f231154d926b51d9812b1e9c1a6202
Using become_user only works if either the ansible_user is root
or pipeling is enabled. Use become instead to avoid the dependency
on pipelining being enabled.
Change-Id: I2ca65ab38b51d4949295674abfe594ce26fe35a1
The role to distribute the build ssh key to a user uses the "copy"
module in combination with become_user. When the target user is not
root, this does not work because the ansible user is not root
either and "copy" is not compatible with pipelining:
http://docs.ansible.com/ansible/latest/user_guide/become.html#becoming-an-unprivileged-user
To solve the issue run the copy as root and set the owner of the
target file. Use the "user" module to resolve "~" to the target user
home directory.
Change-Id: Ic66eb2b14bc55a412dfa73aa0722cd59887a4e83
Run the first task in the block, with become_user since the zuul
user may not access a generic use .ssh folder.
Depends-on: https://review.openstack.org/550091
Change-Id: I4ce120412079fe92502eee5310a03664aa55d5ce
This role also sets up authorized_keys so that inter-node ssh works
between the hosts for alternative users.
This role will be useful for things like devstack, which require an
additional user be able to ssh around for things like nova's migrations.
The role can be called multiple times, with a different target user each
time. It is assumed that the user already exists.
Change-Id: I5972d66a48802fce0c1ebb885be00c5803ff0e9a