zuul-jobs/roles/copy-build-sshkey
Andrea Frittoli (andreaf) e79be26f70 Run authorized_keys as root
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
2018-04-24 11:57:43 +01:00
..
tasks Run authorized_keys as root 2018-04-24 11:57:43 +01:00
vars Role to copy the build ssh key to other users 2017-08-22 18:22:45 -07:00
README.rst Role to copy the build ssh key to other users 2017-08-22 18:22:45 -07:00

README.rst

Copy a build-local SSH key to a defined user on all hosts

This role is intended to be run on the Zuul Executor. It copies a generated build specific ssh key to a user and adds it to the authorized_keys file of every host in the inventory.

Role Variables