Skip to content
Snippets Groups Projects
Select Git revision
  • 8b318c2e2ec60d714ea08eaad4f7b3d578566536
  • main default protected
  • v1.2.0
  • v1.1
  • v1.0
5 results

README.md

Blame
  • Hannes Braun's avatar
    Hannes Braun authored
    Role can now create users with passwords.
    Will not set a password, even if provided, for users that shall be sudo.
    8b318c2e
    History

    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-user
        src: https://25_read_ansible_roles:glpat-5Ci385Nui9Uvyy8dQcuC@git.slub-dresden.de/ansible/referat25/role-manage-users.git
        scm: git
        version: v1.1 # or whatever version you need
    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.