ansible-roles/evolinux-users
David Prevot 61f2096fad Allow more --check runs
Use “when: not ansible_check_mode” or “when <file>.stat.exists or not
ansible_check_mode” in order to provide a meaningful diff if possible.

This is an improvement from the previously reverted commit
1728eaee68.
2022-12-23 16:20:06 +01:00
..
defaults Simplify user subset creation 2022-08-24 09:05:29 -04: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 Allow more --check runs 2022-12-23 16:20:06 +01:00
templates evolinux-user: sudoers privileges for check php\fpm80 and 81 2022-10-07 14:16:32 +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)