<<<<<<< HEAD
=======
This project provides a template for configuring organizations in Ansible Automation Platform (AAP) with the following features:
- AD group creation for Team Execute and Team Developers
- GitLab integration with organization-specific repositories
- Service account configuration for both GitLab and AAP
- Documentation generation for organization setup
.
├── playbooks/
│ └── org_config.yml # Main playbook for organization configuration
├── templates/
│ └── org_setup_doc.md.j2 # Template for organization setup documentation
├── inventory/
│ └── org_inventory.yml # Inventory file for organization configuration
├── vaults/
│ └── org_vault.yml # Vault file for sensitive data
└── docs/ # Generated documentation
- Ansible Automation Platform installed and configured
- GitLab instance accessible
- Active Directory domain controller accessible
- Required credentials stored in vault
-
Prepare Vault File
ansible-vault create vaults/org_vault.yml
Add the required credentials and configuration values.
-
Configure Organization
ansible-playbook -i inventory/org_inventory.yml playbooks/org_config.yml -e env=dev
-
View Generated Documentation The documentation will be generated in the
docs/
directory with the format{org_name}-setup.md
-
Organization Details
- Edit
vaults/org_vault.yml
to set organization name and description - Configure URLs and domains as needed
- Edit
-
Service Accounts
- Service account passwords are stored in the vault
- Names follow the pattern:
{org_name}-{service}-sa
-
AD Groups
- Team Execute:
G-APP-AAP-{org_name}-USER
- Team Developers:
G-APP-AAP-{org_name}-ADMIN
- Team Execute:
- All sensitive data is stored in vault files
- Service account credentials are automatically generated
- AD groups are created with appropriate permissions
- GitLab repositories are created as private
For issues or questions:
- Check the generated documentation
- Contact the AAP team
- Submit a ticket through the support portal
- Fork the repository
- Create a feature branch
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
master