This role used the dseditgroup command to manage group nestings.
By default, this will add the everyone group to lpadmin allowing users
more flexibility in regard to printer control. But the role is generic enough
to be used for every kind of group nesting.
This role will not create non existend groups. It can only be used to nest existing groups or to remove existing group nestings.
macos_nestgroup__managed_group: lpadmin
macos_nestgroup__nested_group: everyone # Used with no argument, the role
# will add the everyone group to lpadmin
- hosts: print
roles:
- macos_nestgroup
# Remove the everyone group from lpadmin
- hosts: noprint
vars:
- macos_nestgroup__present: false
roles:
- macos_nestgroupGPLv3
Part of the ANTS Framework