Teams
The teams playbook has been created for the purpose of creating Centurion ERP teams. It allows teams to be defined as configuration as code which allows standardisation of teams and permissions within an organisation. With this playbook it is possible to create every team within an organisation and define the permissions and notes that are to be applied to that team.
The teams playbook includes the AWX Feature to import the playbook as a job template in AWX / Ansible Automation Platform.
The following job template will be created:
- Centurion/Access/Teams Creation and patching of teams and permissions
Info
The playbook is able to work with the inventory plugin that is included in this collection.
Play workflow
The teams playbook gathers information regarding centurion organisations from the ansible inventory. Using this information the play is designed to create new teams with permissions and notes. The workflow for the playbook is as follows
-
Fetch all organisations from Centurion ERP
-
Fetch all existing teams within each organisation from Centurion ERP
-
Fetch any teams to be created from inventory
-
Create new teams
-
for each team
-
Replace the team permissions
-
Replace the contents of the notes field
-
Configuration
The teams playbook uses variables that are gathered from inventory. The expected structure of the inventory file is:
centurion_erp:
teams:
- name: "organisation name"
teams:
- name: "team-name"
permissions: []
notes: "permissions must be a list"
common teams
Common teams can be created by using yaml anchors. This is useful when multiple organisations require a common team and permissions to be set.
About:
This page forms part of our Project Centurion Ansible Collection.
Page Metadata
Version: ToDo: place files short git commit hereDate Created: 2024-08-18
Date Edited: 2024-08-23
Contribution:
Would You like to contribute to our Centurion Ansible Collection project? You can assist in the following ways:
- Edit This Page If there is a mistake or a way you can improve it.
- Add a Page to the Manual if you would like to add an item to our manual
- Raise an Issue if there is something about this page you would like to improve, and git is unfamiliar to you.
ToDo: Add the page list of contributors