ansible-roles/evolinux-users
2024-08-23 17:50:18 +02:00
..
defaults Simplify user subset creation 2022-08-24 09:05:29 -04:00
handlers Use FQCN 2023-03-20 23:33:19 +01:00
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
tasks evolinux-base/evolinux-users: sort sshd_config files 2024-08-23 17:50:18 +02:00
templates lxc-php: Allow one to install php84 on Bookworm container 2024-08-23 11:13:43 +02: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 Update 'evolinux-users/README.md' 2022-08-24 15:24:54 +02:00

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'
    create: always
  bar:
    name: bar
    uid: 1002
    fullname: 'Mr Bar'
    groups:
    - "baz"
    - "qux"
    password_hash: 'gsdfgsdfgsdfgsdf'
    ssh_keys:
      - 'ssh-rsa QWERTYUIOP'
      - 'ssh-ed25519 QWERTYUIOP'
    create: on_demand
  • 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)