An Ansible role to manage system groups.
Group root
can't be managed using this role for security reasons.
None.
# list of system groups
system_groups__list: []
## group name
# - name: string
## OPTIONAL: if set to true, group is removed from host
# disabled: bool
## OPTIONAL: group id
# gid: int
## OPTIONAL: system group flag
# system: bool
None.
- hosts: all
roles:
- role: "tomashavlas.system_groups"
system_groups__list:
- name: "usergrp"
gid: 1564
- name: "systemgrp"
system: true
- name: "disabledgrp"
disabled: true
For more examples see test cases.
BSD
Created by Tomáš Havlas in 2016.