Install authorized_keys into a given user. Fetches the public keys from GitHub for specified users, or users in specified organizations.
Ansible 2.8 or higher
github_keys_install_user
: username to install keys intogithub_keys_create_install_user
: set false to assume the system user already exists- Default:
true
- Default:
github_keys_github_orgs
: array of github organization to get public keys from- Default:
[]
- Default:
github_keys_github_users
: array of additional github users to get public keys from- Default:
[]
- Default:
github_keys_additional_keys
: array of additional public keys to add to authorized_keys- Default:
[]
- Default:
github_keys_force_refresh
: True to force a fetch of keys, even if they appear to be loaded already- Default:
false
- Default:
None
- hosts: servers
roles:
- { role: smartlogic.github_keys, github_keys_install_user: "deploy" }
MIT
SmartLogic. http://SmartLogic.io