ansible-collection-famedly-.../roles/user
Johanna Dorothea Reichmann d1c5e83619
chore: update READMEs
2021-09-07 08:59:51 +02:00
..
defaults chore: transfer project in collection 2020-08-28 17:48:01 +02:00
handlers chore: transfer project in collection 2020-08-28 17:48:01 +02:00
meta chore: transfer project in collection 2020-08-28 17:48:01 +02:00
tasks feat(user): add gecos support 2021-09-01 13:38:02 +02:00
templates chore: transfer project in collection 2020-08-28 17:48:01 +02:00
vars chore: transfer project in collection 2020-08-28 17:48:01 +02:00
README.md chore: update READMEs 2021-09-07 08:59:51 +02:00

famedly.base.user ansible role

This ansible role can be used to provision access to a server via SSH by creating and configuring users and their SSH keys and sudo privileges.

Role Variables

The role takes a list of users to provision in the users variable in the following structure:

users:
  - name: username
    root: true|false
    gecos: "Full Name"
    ssh:
      - key: "ssh key"
        active: true|false
      - [...]
  - [...]

The gecos field of a user is optional, and can be used to provide a full name for a user.