Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kevincoakley/ansible-role-user
- Owner: kevincoakley
- Created: 2016-12-15T00:30:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-28T13:40:36.000Z (over 2 years ago)
- Last Synced: 2024-11-14T06:36:35.113Z (3 months ago)
- Topics: ansible, ansible-role, users
- Homepage: https://galaxy.ansible.com/kevincoakley/user
- Size: 27.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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-userLicense
-------BSD
Author Information
------------------Kevin Coakley (https://github.com/kevincoakley)