Site icon UnixArena

Ansible Tower/AWX – Organization/Team/Users – Hierarchy

Ansible - Organization Teams Users - UnixArena

Ansible - Organization Teams Users - UnixArena

Ansible AWX/Tower offers multilevel access delegation and role-based access control to the organization. An organization is a logical collection of Users, Teams, Projects, and Inventories.  It is the highest level in the AWX / Ansible Tower object hierarchy. To support multiple clients from one umbrella, you could create an organization for each client and manage multiple teams under that. Let’s create an organization, Team, Users and associate the project.

Here is the Ansible Tower / AWX – Organization Hierarchy:

AWX – Ansible Tower Hierarchy (Image from https://docs.ansible.com)

 

Create a new Organization  – AWX/Tower

1. Login to AWX/ Tower console with admin privileges.

 

2. Select “Organization” from the navigation and click on add (+)

Create New organization – Ansible Tower

 

3. Enter the organization name and click on Save.  Selecting the instance group might be useful on very large deployment.

New Organization – Ansible Tower

 

4.  Here we could see the newly created organization.

Ansible Tower – AWX – Organization

 

 

Create a new Teams – AWX/Tower

1. In Ansible Tower/AWX console, navigate to “Teams” from the menu. Click ” + ” to add a new team.

Ansible Tower AWX – Create a New Team

 

2. Enter the team name and select the organization.  You might need to add multiple teams based on the requirement.

Creating New Support Team – Ansible Tower

 

3. I have created the below-listed teams.

Teams – AWX Tower

 

 

Create new users – AWX/Tower

1.  From the AWX/ Tower main menu, select “users” to add a new user. Click on  “+” .

Ansible Tower AWX – Adding New user

 

2. Enter the user details.  Select the newly created organization.

Create New User – Ansible Tower AWX

 

Repeat the process for other users which you would like to add.

Create New User 2- Ansible Tower AWX

 

Here is the list of users added into my AWX console.

List of users – AWX – Tower

 

Assign the “users” to teams

1. Select the team and click on the “USERS” tab.  Click on “Add”

Select Team – Add User – AWX Tower

 

2. Select the user and assign a role for the user.

Assign a user to a specific Team – AWX Tower

 

3. Repeat the same for other users.

User Added to Wintel – AWX Tower

 

Users Added into Respective Teams

 

 Re-assign the project to Newly Created organization?

1. Select the project which needs to be tagged to the organization.

SCM Manual Project

 

2. Re-assign the project from default organization to “UnixArena”.

Re-assign the project to a Newly created organization

 

We have successfully created a new organization, created multiple teams, users and assign the users to each team. At the end of the article, reassigned the project to the newly created organization.

Exit mobile version