This role handles the ssh keys of any number of system users.
By default, only the root user is handled, you can modify the list of users with this variable:
ssh_keygen_user_list:
- root
This role will look at hashicorp vault and on the server to see if ssh keys are present for the defined users.
There are 4 possibilities for each user:
(!) Due to the limitation of ansible, this role will take an exponential amount of time for each new user.
This is due to the usage of the with_nested loop function with up to 3 dictionaries. This is currently the only way I found to match indexes of dictionaries together.
This basically mean that if the number of user is too large, this role will take so much time that it will never complete. The exact number is unknown (depends on computer power of hashicorp vault, the admin workstation, etc).
For now, avoid more than 3 users.