Skip to content

paulRbr/ansible-users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Users - Ansible role

Build Status

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.

Copy it in your ansible configuration directory and start using it via make help.

License

GPLv3

About

Basic user management role for ansible

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published