ansible-roles/evolinux-users
Ludovic Poujol 519ef930df
continuous-integration/drone/push Build is passing Details
Update PermitRootLogin task to work on Debian 11
2022-06-21 15:13:38 +02:00
..
defaults evolinux-users: add user to internal group if defined and Debian >= 9 2018-05-02 17:12:27 +02:00
handlers evolinux-users: add newaliases handler 2018-11-14 17:04:51 +01:00
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
tasks Update PermitRootLogin task to work on Debian 11 2022-06-21 15:13:38 +02:00
templates Add missing sudoers line (for old debian 9) 2021-11-22 16:28:30 +01:00
tests Refactoring of admin-users + evolinux-base roles 2017-10-06 01:06:59 +02:00
.kitchen.yml Refactoring of admin-users + evolinux-base roles 2017-10-06 01:06:59 +02:00
README.md evolinux-users: add user to internal group if defined and Debian >= 9 2018-05-02 17:12:27 +02:00

README.md

evolinux-users

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

Tasks

Everything is in the tasks/main.yml file.

Available variables

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

evolinux_users:
  foo:
    name: foo
    uid: 1001
    fullname: 'Mr Foo'
    groups: "baz"
    password_hash: 'sdfgsdfgsdfgsdfg'
    ssh_key: 'ssh-rsa AZERTYXYZ'
  bar:
    name: bar
    uid: 1002
    fullname: 'Mr Bar'
    groups:
    - "baz"
    - "qux"
    password_hash: 'gsdfgsdfgsdfgsdf'
    ssh_keys:
      - 'ssh-rsa QWERTYUIOP'
      - 'ssh-ed25519 QWERTYUIOP'
  • evolinux_sudo_group: which group to use for sudo (default: evolinux-sudo)
  • evolinux_ssh_group: which group to use for ssh (default: evolinux-ssh)
  • evolinux_internal_group: which group to use for all created users (eg. the company name)
  • evolinux_root_disable_ssh: disable root's ssh access (default: True)