Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smartlogic/ansible-role-github_keys
Ansible role for loading authorized_keys from github organizations and users
https://github.com/smartlogic/ansible-role-github_keys
ansible-role
Last synced: 17 days ago
JSON representation
Ansible role for loading authorized_keys from github organizations and users
- Host: GitHub
- URL: https://github.com/smartlogic/ansible-role-github_keys
- Owner: smartlogic
- License: mit
- Created: 2017-06-13T20:39:03.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-09-26T20:06:08.000Z (over 2 years ago)
- Last Synced: 2025-01-11T12:57:07.885Z (24 days ago)
- Topics: ansible-role
- Language: Jinja
- Homepage: https://galaxy.ansible.com/smartlogic/github_keys
- Size: 19.5 KB
- Stars: 3
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
GitHub Keys
=========Install authorized_keys into a given user. Fetches the public keys from GitHub
for specified users, or users in specified organizations.Requirements
------------Ansible 2.8 or higher
Role Variables
--------------* `github_keys_install_user` : username to install keys into
* `github_keys_create_install_user` : set false to assume the system user
already exists
* Default: `true`
* `github_keys_github_orgs` : array of github organization to get public keys
from
* Default: `[]`
* `github_keys_github_users` : array of additional github users to get public
keys from
* Default: `[]`
* `github_keys_additional_keys` : array of additional public keys to add to
authorized_keys
* Default: `[]`
* `github_keys_force_refresh` : True to force a fetch of keys, even if they
appear to be loaded already
* Default: `false`Dependencies
------------None
Example Playbook
----------------- hosts: servers
roles:
- { role: smartlogic.github_keys, github_keys_install_user: "deploy" }License
-------MIT
Author Information
------------------SmartLogic. http://SmartLogic.io