Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kevincoakley/ansible-role-user


https://github.com/kevincoakley/ansible-role-user

ansible ansible-role users

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

ansible-role-user
=================

![](https://github.com/kevincoakley/ansible-role-user/workflows/Molecule%20Test/badge.svg)

Manage users for CentOS and Ubuntu

Requirements
------------

None

Role Variables
--------------

See defaults/main.yml

Dependencies
------------

None

Example Playbook
----------------

- name: Test the User role for CentOS and Ubuntu systems
hosts: user
become: yes
become_method: sudo

vars:
- user_list:
- name: user01
uid: 2001
- name: user02
ssh_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCsizUbyTe...w== [email protected]
- name: user03
system: yes
- name: user04
state: absent
roles:
- ansible-role-user

License
-------

BSD

Author Information
------------------

Kevin Coakley (https://github.com/kevincoakley)