In the previous lesson you got to know AWX and its architecture: a web application with its API, a task service, a PostgreSQL database and jobs that run in containers. Now you're going to install it in the Aurora Store lab. The only installation method the AWX project maintains is its operator on Kubernetes, so first you'll add a new machine to the lab, awx1, with lightweight Kubernetes (k3s); then you'll install AWX Operator with kustomize, ask it for an AWX instance through an AWX resource, get the administrator password and log in for the first time. Since AWX always fetches code from Git, you'll finish by setting up the lab Git server (git.aurora-store.example) on awx1, which will replace the ~/aurora-git directory from Module 6. You'll close the lesson with upgrades, backups and a brief look at how Ansible Automation Platform is installed.

Contents

  1. Lab decisions and requirements
  2. The awx1 machine
  3. Lightweight Kubernetes: k3s
  4. The lab's internal names
  5. Installing AWX Operator with kustomize
  6. Requesting an instance: the AWX resource
  7. Following the installation
  8. Administrator password and first login
  9. The lab Git server: Gitea
  10. Upgrading AWX
  11. Backups: AWXBackup
  12. What about Ansible Automation Platform?

  1. Lab decisions and requirements

Before typing anything, it's worth deciding where AWX is going to live:

Option Advantages Drawbacks
On your control node (the computer you work on), with minikube or kind Doesn't create new machines Mixes the platform with your personal environment (exactly what we want to avoid); minikube and kind are designed for development and are easily reset
On a new awx1 VM in the lab, with k3s Separate from your computer, as it would be in a company; k3s is a complete, lightweight Kubernetes, ideal for a single node; it's managed with Vagrant like the rest of the lab Uses additional memory

Aurora's decision: AWX is installed on a new awx1 machine (192.168.56.30) in the Vagrantfile, with single-node k3s. That machine will also act as the lab's "services machine": it will host the Git server (in this lesson) and the container registry (Lesson 7.6).

awx1 requirements:

Resource Minimum for the lab Comment
CPU 4 vCPUs AWX starts several containers and an initial database migration
Memory 6 GB (8 GB if you can) With less, the pods stay in Pending or restart due to lack of memory
Disk 20 GB free The bento/ubuntu-24.04 image already comes with plenty of disk
Network Internet access (to download images) and access to the 192.168.56.0/24 network AWX jobs will connect over SSH to lb1, web1, web2 and db1

With awx1, the full lab needs about 10.5 GB of memory for the VMs. If your computer falls short, you can temporarily shut down what you're not using (vagrant halt web2), although some of the module's exercises expect Aurora's four servers to be running.

awx1 is not part of Aurora's inventory: it isn't a store server, but a team tool. That's why site.yml won't touch it, and you'll configure it by hand in this lesson (automating its installation would be a good exercise once you've mastered the module).

  1. The awx1 machine

Add the machine to the end of the MACHINES dictionary in lab/Vagrantfile (Lessons 1.3 and 5.7):

MACHINES = {
  "lb1"  => { ip: "192.168.56.10", memory: 512,  cpus: 1 },
  "web1" => { ip: "192.168.56.11", memory: 1024, cpus: 1 },
  "web2" => { ip: "192.168.56.12", memory: 1024, cpus: 1 },
  "db1"  => { ip: "192.168.56.21", memory: 2048, cpus: 2 },
  "awx1" => { ip: "192.168.56.30", memory: 6144, cpus: 4 },
}

Create it and save its initial state:

cd ~/aurora-infra/lab
vagrant up awx1
vagrant snapshot save awx1 clean
cd ..

The Vagrantfile provisioning authorizes your ~/.ssh/aurora_ed25519.pub key, so you can connect over SSH just like the others. Add the alias to ~/.ssh/config and include it in the common options line:

Host awx1
    HostName 192.168.56.30

Host lb1 web1 web2 db1 awx1 192.168.56.*
    User vagrant
    IdentityFile ~/.ssh/aurora_ed25519
    IdentitiesOnly yes

Finally, add the names you'll use in the module to /etc/hosts on your computer (with sudo). They all point to awx1:

192.168.56.30   awx1 git.aurora-store.example registry.aurora-store.example
  • git.aurora-store.example: the lab Git server (section 9).
  • registry.aurora-store.example: the container registry (Lesson 7.6).

In a company, these names would be resolved by the internal DNS; in the lab, /etc/hosts plays that role. Check the connection (and accept the machine's fingerprint):

ssh awx1 hostname
awx1

  1. Lightweight Kubernetes: k3s

k3s is a certified Kubernetes distribution packaged as a single binary, with everything a one-node cluster needs: Kubernetes itself, the containerd container engine, an internal DNS (CoreDNS) and a local disk provisioner (so the AWX database gets persistent storage).

Connect to awx1 and install the packages you'll need (Git is used by kustomize to download the operator; Podman, by the Git server in section 9):

ssh awx1
sudo apt-get update
sudo apt-get install -y git podman

k3s is installed with an official script. As with any downloaded script you're going to run with sudo, download it first and take a look at it:

curl -sfL https://get.k3s.io -o /tmp/k3s-install.sh
less /tmp/k3s-install.sh
sudo INSTALL_K3S_CHANNEL=stable sh /tmp/k3s-install.sh --disable traefik --node-ip 192.168.56.30

Explanation:

  • INSTALL_K3S_CHANNEL=stable: installs the latest stable version. In a serious environment you'd pin a specific version with INSTALL_K3S_VERSION=<version> (check the published ones at github.com/k3s-io/k3s/releases) so that two installations are identical.
  • --disable traefik: by default k3s includes the Traefik ingress controller, which takes ports 80 and 443 on the machine. You disable it because AWX will be published on a port of its own (NodePort) and port 80 will be used by the Git server.
  • --node-ip 192.168.56.30: Vagrant VMs have two network interfaces: the NAT one (10.0.2.15, the same on every machine, which you already ran into in Lesson 3.5) and the lab's private one. Without this option, k3s could advertise itself with the NAT IP.

Check the cluster. k3s installs kubectl and configures it for root, hence the sudo:

sudo kubectl get nodes -o wide
NAME   STATUS   ROLES                  AGE   VERSION        INTERNAL-IP     ...
awx1   Ready    control-plane,master   1m    v1.xx.x+k3s1   192.168.56.30   ...
sudo kubectl get pods -A
NAMESPACE     NAME                                      READY   STATUS    RESTARTS   AGE
kube-system   coredns-xxxxxxxxxx-xxxxx                  1/1     Running   0          1m
kube-system   local-path-provisioner-xxxxxxxxxx-xxxxx   1/1     Running   0          1m
kube-system   metrics-server-xxxxxxxxxx-xxxxx           1/1     Running   0          1m

The node in Ready and the three system pods in Running show that Kubernetes is working. If this is your first contact with Kubernetes, these terms are all you need for this lesson:

Term Meaning
Pod One or more containers that run together; the smallest unit in Kubernetes
Namespace A space that separates resources (AWX will live in awx)
Deployment / StatefulSet Resources that keep pods alive (if one dies, it's recreated)
Service A stable network access point to a set of pods; NodePort publishes it on a port of the machine
Secret A resource for storing sensitive data (such as the AWX administrator password)
PVC A request for persistent storage (PostgreSQL will use one)
Operator A program that runs in the cluster and manages a complex application based on a resource that describes it

Ansible and Kubernetes will be studied together in Lesson 8.2; here Kubernetes is just the platform AWX runs on.

  1. The lab's internal names

AWX jobs run inside pods, and pods don't read the /etc/hosts file on your computer or on awx1: they query the cluster's internal DNS (CoreDNS). For them to resolve git.aurora-store.example and registry.aurora-store.example, CoreDNS has to be taught those names. k3s lets you add configuration to it with a ConfigMap called coredns-custom.

The files that describe the AWX installation are part of the lab, so you'll keep them versioned in aurora-infra/lab/awx/ and copy them to awx1. On your computer, create lab/awx/coredns-custom.yaml:

# Internal lab names for the k3s pods (Lesson 7.2).
# In a company, the internal DNS would resolve them.
apiVersion: v1
kind: ConfigMap
metadata:
  name: coredns-custom
  namespace: kube-system
data:
  aurora-store.server: |
    aurora-store.example:53 {
        hosts {
            192.168.56.30 git.aurora-store.example
            192.168.56.30 registry.aurora-store.example
        }
    }
  • kind: ConfigMap in the kube-system namespace, with the exact name coredns-custom that k3s looks for.
  • The aurora-store.server key (the .server suffix is mandatory) contains a CoreDNS configuration block that answers for the aurora-store.example zone with the entries in the hosts block.

On awx1, those names must also resolve for the system itself (for example, when containerd pulls images from the registry in Lesson 7.6). Copy the directory and apply the configuration:

# On your computer, from ~/aurora-infra
scp -r lab/awx awx1:
ssh awx1
# On awx1
echo "192.168.56.30 git.aurora-store.example registry.aurora-store.example" | sudo tee -a /etc/hosts
sudo kubectl apply -f ~/awx/coredns-custom.yaml
sudo kubectl -n kube-system rollout restart deployment coredns

You'll check it from a pod once the Git server is up and running (section 9).

  1. Installing AWX Operator with kustomize

AWX Operator is the program that installs and maintains AWX inside Kubernetes: you describe the AWX you want (a resource of type AWX) and it creates the database, pods, services and secrets, and applies the migrations when upgrading. It's installed with kustomize, a Kubernetes tool (built into kubectl as kubectl apply -k) that combines resource files.

On your computer, create lab/awx/kustomization.yaml (the file name is mandatory):

# AWX installation on awx1 (Lesson 7.2).
# Apply on awx1:  sudo kubectl apply -k ~/awx
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: awx
resources:
  # AWX Operator. EXAMPLE VERSION: check the latest one at
  # https://github.com/ansible/awx-operator/releases and change it in BOTH places.
  - github.com/ansible/awx-operator/config/default?ref=2.19.1
  # Aurora Store AWX instance (uncomment in the second step).
  # - awx-aurora.yaml
images:
  - name: quay.io/ansible/awx-operator
    newTag: 2.19.1

Explanation:

  • namespace: awx: all resources will be created in the awx namespace.
  • resources: the first entry downloads the operator configuration from GitHub at version 2.19.1 (with ?ref=). This version is pinned as an example: at the time of writing it's the latest release and it installs AWX 24.6.1. Before installing, check the releases page to see whether there's a newer one.
  • images: pins the operator image tag to the same version. The two versions must always match.
  • The second entry (awx-aurora.yaml) is commented out: the operator must exist before Kubernetes will accept resources of type AWX, so the installation is done in two steps.

Copy the file to awx1 and apply the first step:

# On your computer
scp lab/awx/kustomization.yaml awx1:awx/
# On awx1
sudo kubectl apply -k ~/awx
sudo kubectl get pods -n awx
NAME                                               READY   STATUS    RESTARTS   AGE
awx-operator-controller-manager-xxxxxxxxxx-xxxxx   2/2     Running   0          1m

The operator is running, waiting for you to ask it for an AWX.

  1. Requesting an instance: the AWX resource

On your computer, create lab/awx/awx-aurora.yaml:

# Aurora Store AWX instance (Lesson 7.2).
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx-aurora
spec:
  # Publish the interface on a fixed port of awx1: http://192.168.56.30:30080
  service_type: nodeport
  nodeport_port: 30080
  • kind: AWX: the resource type the operator understands (a Custom Resource, CR).
  • metadata.name: awx-aurora: the name of the instance. The operator uses it as a prefix for everything it creates (awx-aurora-web, awx-aurora-task, awx-aurora-postgres-..., awx-aurora-admin-password…).
  • service_type: nodeport and nodeport_port: 30080: publish AWX on port 30080 of awx1. NodePort ports must be in the 30000-32767 range.

With no other options, the operator also creates a PostgreSQL database that it manages itself, with its persistent storage, and an admin administrator user with a random password.

Alternative with ingress: in a cluster with an ingress controller (for example, if you don't disable Traefik in k3s), you'd publish AWX with a name and TLS: service_type: clusterip, ingress_type: ingress, hostname: awx.aurora-store.example and a secret with the certificate (ingress_tls_secret). That's the right approach outside the lab: the lab's NodePort access goes over unencrypted HTTP, acceptable only on a private practice network.

Uncomment the - awx-aurora.yaml line in kustomization.yaml, copy both files and apply the second step:

# On your computer
scp lab/awx/kustomization.yaml lab/awx/awx-aurora.yaml awx1:awx/
# On awx1
sudo kubectl apply -k ~/awx
...
awx.awx.ansible.com/awx-aurora created

  1. Following the installation

The installation takes several minutes (pulling images, creating the database and the initial migration). To see what the operator is doing, follow its log:

sudo kubectl logs -f deployments/awx-operator-controller-manager -c awx-manager -n awx

Interestingly, the operator is an Ansible playbook that runs in a loop: you'll see tasks go by in the format you already know. When it finishes a pass without errors, it shows a PLAY RECAP with failed=0. Exit with Ctrl+C and look at the pods:

sudo kubectl get pods -n awx
NAME                                               READY   STATUS      RESTARTS   AGE
awx-operator-controller-manager-xxxxxxxxxx-xxxxx   2/2     Running     0          9m
awx-aurora-postgres-15-0                           1/1     Running     0          6m
awx-aurora-task-xxxxxxxxxx-xxxxx                   4/4     Running     0          5m
awx-aurora-web-xxxxxxxxxx-xxxxx                    3/3     Running     0          5m
awx-aurora-migration-24.6.1-xxxxx                  0/1     Completed   0          5m

(The exact names and the number of containers per pod may vary between versions.) Match each pod to the architecture from Lesson 7.1:

Pod Component
awx-aurora-postgres-15-0 PostgreSQL database (with its PVC)
awx-aurora-task-... task service (with Redis, receptor and the control execution environment as containers in the same pod)
awx-aurora-web-... Web interface and API
awx-aurora-migration-... One-off job that creates the tables; ends in Completed

And the published service:

sudo kubectl get svc -n awx
NAME                  TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)        AGE
awx-aurora-postgres-15 ClusterIP  None           <none>        5432/TCP       6m
awx-aurora-service    NodePort    10.43.x.x      <none>        80:30080/TCP   5m

If a pod gets stuck in Pending, CrashLoopBackOff or similar, sudo kubectl describe pod <name> -n awx shows the cause (not enough memory, an image that won't download…).

  1. Administrator password and first login

The operator stores the admin password in the awx-aurora-admin-password secret. Kubernetes secrets are stored in Base64, so you have to decode it:

sudo kubectl get secret awx-aurora-admin-password -n awx -o jsonpath="{.data.password}" | base64 --decode; echo
  • -o jsonpath="{.data.password}" extracts only the password field from the secret.
  • base64 --decode decodes it (Base64 isn't encryption: anyone with access to the secret can read it).
  • echo adds a final line break.

Save the password in your password manager. Open this in your computer's browser:

http://192.168.56.30:30080

Log in with the admin user and that password. You'll see the empty Dashboard and the side menu with the sections you'll go through in Lesson 7.3. Also check the version in the help menu (About) and the API at http://192.168.56.30:30080/api/v2/ping/, which returns a JSON document with the version and information about the instances.

Security: admin is a superuser (System Administrator). Use it only for the initial configuration; in Lesson 7.5 you'll create personal users with just the permissions they need.

Before going on, save a snapshot of awx1 with AWX freshly installed (Vagrant stops the VM for a few seconds):

cd ~/aurora-infra/lab
vagrant snapshot save awx1 awx-installed
cd ..

  1. The lab Git server: Gitea

AWX doesn't work with directories on your disk: it gets each project by cloning it from a Git server (Lesson 7.4). And Aurora's nginx role is currently downloaded from git+file:///home/student/aurora-git/ansible-role-nginx.git, a path that only exists on your computer: that's exactly the warning left pending at the end of Module 6. You need a Git server reachable over the network from the AWX pods.

Aurora's decision: in the company, the Git server is a Gitea instance at git.aurora-store.example, with an ops organization that holds the operations repositories. In the lab you simulate it with a Gitea container on awx1, published on port 80 and accessible over HTTP. The ~/aurora-git directory is no longer used (in Lesson 7.3 you'll move its repositories to Gitea).

On awx1, start Gitea with Podman (as root, because it uses port 80):

sudo podman volume create gitea-data
sudo podman run -d --name gitea --restart=always \
  -p 80:3000 -p 2222:22 \
  -v gitea-data:/data \
  -e GITEA__server__DOMAIN=git.aurora-store.example \
  -e GITEA__server__ROOT_URL=http://git.aurora-store.example/ \
  -e GITEA__server__SSH_DOMAIN=git.aurora-store.example \
  -e GITEA__server__SSH_PORT=2222 \
  -e GITEA__database__DB_TYPE=sqlite3 \
  -e GITEA__security__INSTALL_LOCK=true \
  -e GITEA__service__DISABLE_REGISTRATION=true \
  docker.io/gitea/gitea:1.24
sudo systemctl enable --now podman-restart.service

Explanation:

  • -p 80:3000: Gitea's web interface and HTTP Git access (port 3000 in the container) are published on port 80 of awx1; -p 2222:22 publishes its SSH on port 2222 (you won't use it).
  • -v gitea-data:/data: Gitea's repositories and database live in a persistent volume.
  • GITEA__section__KEY variables: configure Gitea without going through its web wizard. ROOT_URL is the address it will show in clone URLs; DB_TYPE=sqlite3 uses a file-based database (enough for the lab); INSTALL_LOCK=true marks the installation as finished; DISABLE_REGISTRATION=true prevents anyone from signing up.
  • docker.io/gitea/gitea:1.24: an example version; check the current one at hub.docker.com/r/gitea/gitea and always pin a specific tag.
  • --restart=always, together with the podman-restart service, makes Gitea start on its own when awx1 reboots.

Create your Gitea administrator user with a random password (Gitea shows it only once; save it in your password manager):

sudo podman exec -u git gitea gitea admin user create --admin \
  --username alex --email [email protected] \
  --random-password --must-change-password=false
generated random password is '...'
New user 'alex' has been successfully created!

Check access from your computer and from a pod in the cluster (this also validates the DNS from section 4):

# On your computer
curl -sI http://git.aurora-store.example/ | head -1
HTTP/1.1 200 OK
# On awx1
sudo kubectl run dns-test --rm -it --restart=Never --image=docker.io/library/busybox:1.36 -- \
  wget -qS -O /dev/null http://git.aurora-store.example/
  HTTP/1.1 200 OK
  ...
pod "dns-test" deleted

The test pod resolved the name and reached Gitea: AWX jobs will be able to do the same. Open http://git.aurora-store.example/ in your browser and log in as alex. The repositories will be created in Lesson 7.3.

Version the lab files in aurora-infra:

git add lab/Vagrantfile lab/awx/
git commit -m "Lab: awx1 machine with k3s, AWX Operator 2.19.1 and internal names"

  1. Upgrading AWX

With the operator, upgrading AWX means upgrading the operator: each operator version installs a specific AWX version.

  1. Read the release notes for the new version (breaking changes, manual steps, PostgreSQL version).
  2. Take a backup (section 11) and, in the lab, a snapshot of awx1.
  3. Change the version in both places in kustomization.yaml (?ref= and newTag).
  4. Apply: sudo kubectl apply -k ~/awx. The operator updates the pods and launches the database migration job.
  5. Follow the operator's log and check the version at /api/v2/ping/.

A few recommendations: don't jump many versions at once without reading the release notes in between, don't edit the deployments the operator creates by hand (it will revert them on its next pass; any adjustment goes in the AWX resource), and keep kustomization.yaml versioned so you always know which version you have.

  1. Backups: AWXBackup

The operator also takes backups, with another resource type. Create lab/awx/awx-backup.yaml (don't add it to kustomization.yaml: it's applied whenever you want to take a backup):

apiVersion: awx.ansible.com/v1beta1
kind: AWXBackup
metadata:
  name: awx-aurora-backup-2026-11-26
  namespace: awx
spec:
  deployment_name: awx-aurora
sudo kubectl apply -f ~/awx/awx-backup.yaml
sudo kubectl get awxbackup -n awx

The operator dumps the database and the deployment's secrets to a persistent volume in the cluster. To restore, you use an AWXRestore resource that specifies the backup (backup_name) and the name of the instance to create (deployment_name).

Two important warnings:

  • The encryption key is as important as the database. AWX encrypts credentials with a secret key stored in the awx-aurora-secret-key secret. A database restored without its key has all its credentials rendered useless. The AWXBackup backup includes it, but also keep a separate copy in a safe place.
  • A backup on the same disk isn't a backup. The backup volume is on awx1; if the machine is lost, the backup goes with it. In a company, the backup is exported to another system and the restore is tested periodically.

  1. What about Ansible Automation Platform?

In AAP you don't install "the controller" on its own, but the whole platform, with installers maintained by Red Hat. Broadly speaking (the details change between versions and are in the official documentation):

Installation method Where Description
Containerized installer (containerized installer) RHEL machines An Ansible inventory describes which component goes on each machine (gateway, controller, hub, EDA, database) and an installer playbook deploys everything as containers with Podman
AAP operator Red Hat OpenShift The enterprise equivalent of AWX Operator: Kubernetes resources that describe the platform
Other variants Depending on the version RPM package-based installation in earlier versions, images on public clouds…

They all require an active Red Hat subscription. What you learn in the rest of the module (projects, inventories, credentials, permissions, workflows and execution environments) applies in exactly the same way once it's installed.

Common Mistakes and Tips

  • Not enough memory on awx1: the pods stay in Pending (describe shows Insufficient memory) or keep restarting. Increase the memory in the Vagrantfile and run vagrant reload awx1.
  • Forgetting --node-ip: k3s may advertise itself with the NAT IP 10.0.2.15, and the NodePort won't respond on 192.168.56.30.
  • Applying the AWX resource before the operator exists: no matches for kind "AWX". Apply the operator first (step 1) and wait for its pod to be Running.
  • Different versions in ?ref= and newTag: an untested operator combination; hard-to-diagnose errors may appear.
  • Port 80 already in use when starting Gitea: if you didn't disable Traefik when installing k3s, it takes port 80. Reinstall k3s with --disable traefik or publish Gitea on another port (and adjust ROOT_URL).
  • Jobs can't resolve git.aurora-store.example: /etc/hosts on awx1 isn't enough for the pods; check the coredns-custom ConfigMap (key ending in .server) and restart CoreDNS.
  • Tip: keep everything you apply to the cluster in lab/awx/. Rebuilding the lab from scratch should be a matter of following the versioned files, not of remembering commands.

Exercises

Exercise 1: Explore what the operator has created

Using kubectl, find out: (a) how many secrets the operator has created for awx-aurora and what each one is for, judging by its name; (b) which PVC PostgreSQL uses and how big it is; (c) which image and version the web pod uses.

Exercise 2: Backup

Back up AWX with the AWXBackup resource and check its status. Then save a copy of the encryption key secret to a file outside awx1. Where should you not keep that file?

Exercise 3: Troubleshooting

After applying kustomization.yaml, a colleague finds that http://192.168.56.30:30080 doesn't respond. sudo kubectl get pods -n awx only shows the operator pod. What are the two most likely causes, and how would you check each one?

Solutions

Exercise 1.

sudo kubectl get secrets -n awx
sudo kubectl get pvc -n awx
sudo kubectl get pods -n awx
sudo kubectl describe pod -n awx <web-pod-name> | grep -i image:

(a) Among others: awx-aurora-admin-password (the admin password), awx-aurora-secret-key (the key that encrypts the credentials), awx-aurora-postgres-configuration (the database connection), awx-aurora-receptor-ca and related ones (internal receptor certificates), awx-aurora-broadcast-websocket (internal communication). (b) A PVC named something like postgres-15-awx-aurora-postgres-15-0, created by the k3s local-path provisioner, 8 Gi by default. (c) The quay.io/ansible/awx:24.6.1 image (or whichever matches your operator version). The exact names may vary with the version: what matters is knowing how to find them.

Exercise 2.

sudo kubectl apply -f ~/awx/awx-backup.yaml
sudo kubectl get awxbackup -n awx -o yaml | grep -A5 status:
sudo kubectl get secret awx-aurora-secret-key -n awx -o yaml > /tmp/awx-aurora-secret-key.yaml
exit
scp awx1:/tmp/awx-aurora-secret-key.yaml ~/
ssh awx1 rm /tmp/awx-aurora-secret-key.yaml

Keep it in your password manager or in encrypted storage. Never in the aurora-infra repository (even if it's in lab/awx/), nor unencrypted in a shared folder: anyone with that key and a copy of the database can decrypt all of AWX's credentials. Afterwards, delete the copy from your home directory once it's safely stored.

Exercise 3. (1) The AWX resource hasn't been applied: the - awx-aurora.yaml line is still commented out or the file wasn't copied to awx1. Check it with sudo kubectl get awx -n awx (none appears). (2) The operator is failing to process it (for example, an error in the resource's YAML or a lack of resources): check sudo kubectl logs deployments/awx-operator-controller-manager -c awx-manager -n awx and look for failed tasks. If the resource exists and the log shows no errors, it may simply still be pulling images: wait and look again.

Conclusion

You've set up Aurora Store's automation platform. You added the awx1 machine to the lab (192.168.56.30, 4 CPUs and 6 GB) and installed k3s on it, single-node Kubernetes; you configured CoreDNS so the pods resolve the internal names git.aurora-store.example and registry.aurora-store.example; you installed AWX Operator with kustomize (version 2.19.1 as an example, pinned in lab/awx/kustomization.yaml), asked it for an instance with the awx-aurora AWX resource published through NodePort on port 30080, followed the installation through the operator's log and the pods, got the admin password from the secret and logged in for the first time. You also set up the lab Git server, a Gitea instance at http://git.aurora-store.example/, which will resolve the warning left pending from Module 6. And you know how to upgrade AWX, how to take backups with AWXBackup (without forgetting the encryption key) and how Ansible Automation Platform is installed. AWX is empty: in the next lesson, Using AWX: Job Templates and Jobs, you'll publish aurora-infra on Gitea, adapt it to run outside your laptop and create the Aurora Store organization with its first job template, which will run site.yml from AWX.

Ansible Course: From Beginner to Advanced

Module 1: Introduction to Ansible

Module 2: Ansible Fundamentals

Module 3: Playbooks

Module 4: Roles

Module 5: Advanced Playbook Techniques

Module 6: Ansible Galaxy

Module 7: Ansible Tower, AWX and Automation Platform

Module 8: Ansible for DevOps

Module 9: Ansible Best Practices

Module 10: Advanced Ansible Topics

Module 11: Final Project

© Copyright 2026. All rights reserved