ansible-roles/admin-users
Jérémy Lecour 9769d4a85b admin-users: fix include syntax 2017-05-20 19:55:42 +02:00
..
defaults admin-users: default to empty dict 2017-01-10 10:19:43 +01:00
handlers add a "reload sshd" handler 2017-01-04 10:21:41 +01:00
meta Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
tasks admin-users: fix include syntax 2017-05-20 19:55:42 +02:00
templates Rename role evolinux-admin_users → admin-users 2016-12-22 15:34:23 +01:00
tests admin-users : no need to create this directory when using systemd 2017-04-21 11:11:36 +02:00
.kitchen.yml admin-users fix tests with ssh 2017-04-20 15:07:30 +02:00
README.md admin-user: switch to a Dict for admin_users 2017-01-04 10:21:41 +01:00

README.md

admin-users

Creates admin users accounts, based on a configuration data structure.

Tasks

Everything is in the tasks/main.yml file.

Available variables

The variable admin_users must be a "dict" of one or more users :

admin_users:
  foo:
    name: foo
    uid: 1001
    fullname: 'Mr Foo'
    password_hash: 'sdfgsdfgsdfgsdfg'
    ssh_key: 'ssh-rsa AZERTYXYZ'
  bar:
    name: bar
    uid: 1002
    fullname: 'Mr Bar'
    password_hash: 'gsdfgsdfgsdfgsdf'
    ssh_key: 'ssh-rsa QWERTYUIOP'