/ansible.local_administrators-sbaer

Ansible role that adds and removes users and groups to the Local Administraotren group. [EOL 01.10.2020]

Ansible Role: local_administrators

Build Status license Ansible Galaxy Ansible Role

Description

Ansible role that adds and removes users and groups to the Local Administraotren group.

Installation

ansible-galaxy install sbaerlocher.local_administrators

Requirements

Role Variables

local administrators list

A list of users or groups that Local Administrators should have rights to on the device.

local_administrators_defaults: []
local_administrators_groups: []
local_administrators_hosts: []

example local administrators list

local_administrators_defaults:
  - UserX
  - GroupX

Pure Option

If the state is enable, only the specified elements exist, and all other unspecified existing elements are removed.

local_administrators_pure_enable: false

local administrators group

Name of the local administrators group like e.g. English Administrators or German Administratoren

local_administrators_group: Administrators

Dependencies

Example Playbook

- hosts: all
  roles:
    - sbaerlocher.local_administrators

Changelog

Author

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2019, Simon Bärlocher