ansible-roles/admin-users
2017-01-03 16:38:04 +01:00
..
defaults Rename role evolinux-admin_users → admin-users 2016-12-22 15:34:23 +01:00
tasks amin-users: fix perms on sudoers file 2017-01-03 16:38:04 +01:00
templates Rename role evolinux-admin_users → admin-users 2016-12-22 15:34:23 +01:00
README.md Rename role evolinux-admin_users → admin-users 2016-12-22 15:34:23 +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 "hash" of one or more users :

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