https://github.com/paulrbr/ansible-users
Basic user management role for ansible
https://github.com/paulrbr/ansible-users
ansible ansible-role users
Last synced: 2 months ago
JSON representation
Basic user management role for ansible
- Host: GitHub
- URL: https://github.com/paulrbr/ansible-users
- Owner: paulRbr
- License: gpl-3.0
- Created: 2017-02-05T00:09:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-05T00:33:02.000Z (over 9 years ago)
- Last Synced: 2025-05-30T02:44:23.237Z (about 1 year ago)
- Topics: ansible, ansible-role, users
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Users - Ansible role
=========
[](https://travis-ci.org/paulRbr/ansible-users)
This role is a very simple machine user management role.
No dependencies and no requirements.
Use this role
-------------
Load this role by adding the following in you `requirements.yml`
- src: paulRbr.users
name: users
Example Playbook
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- role: users
users:
- name: john
groups: admin
key: "{{ lookup('file', 'public_keys/john.pub') }}"
Makefile for easier Ansible usage
------------------
I have written a small Makefile to make your future ansible runs easier. Don't hesitate to [check it out](https://github.com/paulRbr/ansible-makefile/blob/master/Makefile).
Copy it in your ansible configuration directory and start using it via `make help`.
License
-------
GPLv3