/vagrant_awx_k3s_lab

Primary LanguageJinjaApache License 2.0Apache-2.0

Vagrant AWX Lab

A simple lab to spin up a working AWX install.

The lab uses vagrant to spin up a single node k3s and deploys ansible awx.

Initial setup

What you need to get started!

Use

Starting the environment

vagrant up

SSH to the k3s node

vagrant ssh k3s

Checking awx pod status

Start by entering the k3s node via ssh, then

$ sudo k3s kubectl get pods --namespace awx
NAME                  READY   STATUS    RESTARTS   AGE
awx-postgres-0        1/1     Running   0          12m
awx-b5f6cf4d4-dmbm8   4/4     Running   0          12m

Opening AWX Web interface

To enter the web interface you'll navigate to http://awx.k3s.test, to make this work please enter the following into your /etc/hosts file

192.168.55.150  awx.k3s.test

Customization

You can use variables found in ansible/host_vars/k3s.yml to easily change the default settings. It is also possible to change the file ansible/templates/awx.yml.j2 with settings from the awx-operator

Author

Author: Thorstein B. Nordby