ansible_users

Role Name

This role pulls a git repository that is filled with json files, it will create the users within the files and has a field within the json for enabled or disabled to create/remove accounts

Requirements

None - local machine requires git

Role Variables

git_user: git_token: user_keys: home_dir: git_repo: <github repo ending in .git>

Dependencies

None

Example Playbook

- hosts: servers
  vars:
    git_user: wade_wilson
    git_token: mysuperuniquegeneratedtoken
    user_keys: /tmp/users
    home_dir: /home/
    git_repo: trozz/ssh-keys.git
  roles:
     - { role: trozz.ansible-users }

License

BSD

Author Information

Trozz <www.trozzy.net>

About

Role to manage ssh users via a github repo

Install
ansible-galaxy install Trozz/ansible-users
GitHub repository
License
Unknown
Downloads
21