ansible-roles/admin-users
Gregory Colpart 207a2f6011 Improve distribution verification 2017-08-23 01:49:27 +02:00
..
defaults Fix ssh security policy 2017-08-05 12:13:42 -04:00
handlers add a "reload sshd" handler 2017-01-04 10:21:41 +01:00
meta evolinux-base and admin-users are only compatible Debian >=8, declare once in main.yml and that's all 2017-08-22 01:37:04 +02:00
tasks Improve distribution verification 2017-08-23 01:49:27 +02:00
templates We decided a new policy for sudo in stretch because our previous stretch policy is buggy 2017-08-22 01:35:36 +02:00
tests admin-users : no need to create this directory when using systemd 2017-04-21 11:11:36 +02:00
.kitchen.yml Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04: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'