buluma.github_users

Ansible Role github_users

Creates user accounts based on GitHub profiles.

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

Example Playbook

This example comes from molecule/default/converge.yml and is tested with every update.

---
- name: User Creation
  hosts: all
  become: true

  vars:
    github_users_absent:
      - johndoe
      - janedoe

  roles:
    - role: buluma.github_users

You can also check out a complete guide on how to use these roles.

Role Variables

Default variable settings can be found in defaults/main.yml:

---
github_users: []
# To add a user with 'name' (required) and 'groups' (optional):
# - name: buluma
#   groups: www-data,sudo

# Or, add a GitHub username directly:
# - buluma

github_users_absent: []
# To remove a user with 'name' (required):
# - name: buluma

# Or, remove a GitHub username directly:
# - buluma

github_users_authorized_keys_exclusive: true

github_url: https://github.com

Requirements

Context

This role works well with many other compatible roles. For more details, check the documentation for these roles.

An overview of related roles is shown here:

dependencies

Compatibility

This role has been tested on the following container images:

container tags
EL all
Fedora all
Ubuntu all
Debian all

Minimum Ansible version required is 2.1. Tests have been done on:

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

If you encounter any issues, please report them on GitHub

Changelog

Role History

License

Apache-2.0

Author Information

Shadow Walker

Informazioni sul progetto

Create users based on GitHub accounts.

Installa
ansible-galaxy install buluma.github_users
Licenza
apache-2.0
Download
366
Proprietario
DevOps Engineer