You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-roles/evolinux-users
Jérémy Lecour 1728eaee68
gitea/ansible-roles/pipeline/head This commit looks good Details
Revert "Add “when: not ansible_check_mode” to allow more --check"
2 months ago
..
defaults Simplify user subset creation 5 months ago
handlers evolinux-users: add newaliases handler 4 years ago
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
tasks Revert "Add “when: not ansible_check_mode” to allow more --check" 2 months ago
templates evolinux-user: sudoers privileges for check php\fpm80 and 81 4 months ago
tests Refactoring of admin-users + evolinux-base roles 5 years ago
.kitchen.yml Refactoring of admin-users + evolinux-base roles 5 years ago
README.md Update 'evolinux-users/README.md' 5 months ago

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'
    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)