Skip to content
Snippets Groups Projects

role-manage-users

Name

Create, configure and/or delete users.

Description

An ansible role to to manage the users of your linux installation. It is capable to create, configure and delete users. Define which groups the user shall be an, either exclusive oder additional.

Installation

Either refer to the role via a requirements.yml, dependecies inside a meta.yml or via cloning the repository.

Requirements.yml - Example

---
roles:
  - name: role-manage-users
    src: https://git.slub-dresden.de/slub-referat-2.5/ansible/role-manage-users.git
    scm: git
    version: v....
ansible-galaxy install -r requirements.yml

Usage

Provide valid variables and include role inside your playbook.

For variables see defaults/main.yml.

Note: Users with the variable sudo: true can not have a password. A set password will be ignored.

License

For open source projects, say how it is licensed.