etc_fstab.user_groups
Role Name: user_groups
This is Ansible role for managing local user groups. It doesn't manage a LDAP user groups.
The role supports next use cases:
Host based management of local user groups.
Hosts group based management of local user groups (if one is not true).
Ansible OS Family based management of local user groups (if one and two is not true).
Requirements
None.
Role Variables
min_gid
(integer var) defines min GID for local user group.known_common_groups, known_host_groups, known_hostgroup_groups
(list vars) define groups that are not removed by this role. These groups are known and are ignored. The common is based on OS fmaily.managed_common_groups, managed_host_groups, managed_hostgroup_groups
(list vars) define groups that need to be present on a host. The common is based on OS fmaily.
You can add more families is the var folder.
Dependencies
None
Example Playbook
See test folder.
Author Information
ZD
License
Public domain. No ownership such as copyright, trademark, patent. No warranty.