https://github.com/bbgrimmett2/aap-organization-onboarding
https://github.com/bbgrimmett2/aap-organization-onboarding
ansible-automation-platform ansible-code-bot-scan
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bbgrimmett2/aap-organization-onboarding
- Owner: BBGrimmett2
- Created: 2025-01-29T01:33:57.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-30T03:57:04.000Z (4 months ago)
- Last Synced: 2025-01-30T04:20:34.192Z (4 months ago)
- Topics: ansible-automation-platform, ansible-code-bot-scan
- Language: Jinja
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AAP Organization and Team Provisioning
## Overview
This Ansible playbook automates the provisioning of organizations and teams in **Ansible Automation Platform (AAP)**. It generates configuration files from templates, appends data to tracking files, and applies configurations using predefined roles.This is meant to be a templated and can be adapted to your environment as you see fit.
## Requirements
- Ansible installed
- Required environment variables:
- `AAP_HOSTNAME`
- `AAP_VALIDATE_CERTS` (optional, defaults to `false`)
- `AAP_USERNAME`
- `AAP_PASSWORD`
- Organization variables must be defined:
- `org_name`
- `org_full_name`
- `org_description`
- Collections Requirements```yaml
---
collections:
# VALIDATED RED HAT CONTENT
- name: ansible.platform
- name: ansible.hub
- name: ansible.controller
- name: ansible.eda
- name: infra.aap_configuration
```
## Usage
Run the playbook with:```sh
ansible-playbook aap_org_team_provisioning.yml -e "org_name=my_org org_full_name='My Organization' org_description='Description here'"
```## File Structure
```sh
├── aap_org_team_provisioning.yml # Playbook file
├── templates/
│ ├── organization.yml.j2 # Organization template
│ ├── team.yml.j2 # Team template
├── data/
│ ├── aap_organizations.yml # Organization data file
│ ├── aap_teams.yml # Team data file
```