mm0.group

Ansible Role: Group v1.0

Build Status

An Ansible role that simply creates/removes groups

Occassionally, you will need to create groups between role executions, there is no built-in way to do this, instead use this role in between.

See Also: ansible-role-user

Requirements

None

Role Variables

Available variables are listed below, along with default values:

the_groups: 
- name: testgroup
  state: present # a list of groups to create/remove
- name: testgroup
  state: absent # a list of groups to create/remove

Dependencies

None

Example Playbook

- hosts: webservers
  roles:
  - { role: ansible-role-group,
      the_groups: [{"name":"testgroup","state":"present"},{"name":"testgroup2","state":"absent"}]
    }

License

BSD-2

Author Information

Matt Margolin

mm0 on github

About

An Ansible role that creates/removes groups

Install
ansible-galaxy install mm0.group
GitHub repository
License
Unknown
Downloads
83