https://github.com/songleo/automation-system
This repository offers a tool for quickly setting up a automation system utilizing the AWX. It's perfect for Proof of Concept (PoC), educational, or testing scenarios.
https://github.com/songleo/automation-system
ansible automation awx awx-operator kind kubernetes
Last synced: 7 months ago
JSON representation
This repository offers a tool for quickly setting up a automation system utilizing the AWX. It's perfect for Proof of Concept (PoC), educational, or testing scenarios.
- Host: GitHub
- URL: https://github.com/songleo/automation-system
- Owner: songleo
- License: apache-2.0
- Created: 2024-01-05T04:01:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-07T09:45:54.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T18:52:51.218Z (9 months ago)
- Topics: ansible, automation, awx, awx-operator, kind, kubernetes
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository offers a tool for quickly setting up an automation system utilizing the [AWX](https://github.com/ansible/awx). It's perfect for Proof of Concept (PoC), educational, or testing scenarios.
### Prerequisites
- [Docker Desktop](https://docs.docker.com/desktop/) 4.26.1
- [kind](https://github.com/kubernetes-sigs/kind) v0.20.0### Building Automation System
```
$ git clone git@github.com:songleo/automation-system.git
$ cd automation-system
$ ./install.sh
```### Access AWX Console
By default, the admin user is `admin` and the password is available in the -admin-password secret. To retrieve the admin password, run:
```
$ kubectl get secret awx-admin-password -o jsonpath="{.data.password}" | base64 --decode ; echo
admin
```Please ensure that you add the mapping of IP addresses and domain names in your `/etc/hosts` file. For example, if your local IP is `192.168.0.106`, you need to add the following content to your `/etc/hosts` file.
```
192.168.0.106 www.automation-system.com
```Then login console from this URL: http://www.automation-system.com/awx/#/home or http://localhost/awx/#/home
### Troubleshooting
You can use the following commands to load the docker image to Kind cluster if the Kind network is not good.
```
kind load docker-image quay.io/ansible/awx-operator:2.10.0 --name awx
kind load docker-image postgres:13 --name awx
kind load docker-image docker.io/redis:7 --name awx
kind load docker-image quay.io/ansible/awx:23.6.0 --name awx
kind load docker-image quay.io/ansible/awx-ee:latest --name awx
```### Ref
- https://ansible.readthedocs.io/projects/awx-operator/en/latest/installation/basic-install.html