ansible-roles/admin-users
2017-08-09 00:24:12 -04: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 Ansible >= 2.2 supported 2017-03-24 14:15:09 +01:00
tasks admin-users: remove openbsd mentions 2017-08-09 00:24:12 -04:00
templates admin-users: passwordless sudo for come commands 2017-07-27 22:26:07 -04: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

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'