github_users

Ansible role github_users

Create users based on GitHub accounts.

GitHub Version Issues Pull Requests Downloads
github Version Issues PullRequests Ansible Role

Example Playbook

This example is taken from molecule/default/converge.yml and is tested on each push, pull request and release.

---
- name: Converge
  hosts: all
  become: true

  vars:
    github_users_absent:
      - johndoe
      - janedoe

  roles:
    - role: buluma.github_users

Also see a full explanation and example on how to use these roles.

Role Variables

The default values for the variables are set in defaults/main.yml:

---
github_users: []
# You can specify an object with 'name' (required) and 'groups' (optional):
# - name: buluma
#   groups: www-data,sudo

# Or you can specify a GitHub username directly:
# - buluma

github_users_absent: []
# You can specify an object with 'name' (required):
# - name: buluma

# Or you can specify a GitHub username directly:
# - buluma

github_users_authorized_keys_exclusive: true

github_url: https://github.com

Requirements

Context

This role is a part of many compatible roles. Have a look at the documentation of these roles for further information.

Here is an overview of related roles:

dependencies

Compatibility

This role has been tested on these container images:

container tags
EL all
Fedora all
Ubuntu all
Debian all

The minimum version of Ansible required is 2.1, tests have been done to:

  • The previous version.
  • The current version.
  • The development version.

If you find issues, please register them in GitHub

Changelog

Role History

License

Apache-2.0

Author Information

Shadow Walker

Install
ansible-galaxy install buluma/ansible-role-github_users
GitHub repository
License
apache-2.0
Downloads
353
Owner
DevOps Engineer