Ansible role that adds and removes users and groups to the Local Administraotren group.
ansible-galaxy install sbaerlocher.local_administrators
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: []
local_administrators_defaults:
- UserX
- GroupX
If the state is enable, only the specified elements exist, and all other unspecified existing elements are removed.
local_administrators_pure_enable: false
Name of the local administrators group like e.g. English Administrators or German Administratoren
local_administrators_group: Administrators
- hosts: all
roles:
- sbaerlocher.local_administrators
This project is under the MIT License. See the LICENSE file for the full license text.
(c) 2019, Simon Bärlocher