This repository contains everything you need to set up a self-hosted AWX instance for learning and development purposes.
- Verify your system meets the prerequisites
- Follow the installation steps
- Access AWX at http://localhost:30080 (default credentials in setup.md)
- Setup Guide - Complete installation and configuration steps
- Shutdown/Startup Procedures - Managing your AWX environment
- Troubleshooting Guide - Common issues and their solutions
- AWX Configuration - AWX deployment configuration
graph TD
A[Docker Desktop] -->|Runs| B[WSL Ubuntu]
B -->|Hosts| C[k3s Kubernetes]
C -->|Runs| D[AWX Operator]
D -->|Manages| E[AWX Instance]
E -->|Includes| F[Web Interface]
E -->|Includes| G[Task Runner]
E -->|Includes| H[PostgreSQL]
I[User Browser] -->|Accesses| F
- Minimum 4GB RAM (8GB recommended)
- 2 CPU cores (4 cores recommended)
- 20GB free disk space
- Windows 11 with WSL2
- Docker Desktop
- kubectl
- Git
Detailed requirements are listed in setup.md.
# Example Playbook: hello-awx.yml
---
- name: Hello AWX
hosts: localhost
tasks:
- name: Print hello
debug:
msg: "Hello from AWX!"- Server provisioning
- Configuration management
- Application deployment
- Patch management
- Compliance checks
- Security scanning
- Access management
- Backup automation
-
First Project Setup
- Create an Organization
- Add your first Project (Git-based)
- Create an Inventory
- Add a Job Template
-
Ansible Vault Integration
# Create an encrypted variable ansible-vault create vars/secrets.yml # Use in AWX - Add credential - Link to Job Template
-
Git Integration Example
# Sample repository structure my-awx-project/ ├── inventories/ │ └── development/ │ └── hosts.yml ├── playbooks/ │ └── site.yml └── requirements.yml
Common issues and solutions are documented in issues.md. Key areas:
-
Beginner Path
- Complete basic setup
- Run hello-world playbook
- Create first inventory
- Execute built-in modules
-
Intermediate Path
- Set up Git-based projects
- Use encrypted credentials
- Create custom inventories
- Implement job templates
-
Advanced Path
- Custom credential types
- Workflow templates
- LDAP/AD integration
- Custom notifications
- Database backups
- Configuration backups
- Project content backups
Feel free to submit issues and enhancement requests!
This project is licensed under the MIT License.
Documentation last updated: April 30, 2025
AWX Version: 2.9.0
K3s Version: v1.32.3+k3s1