Ansible-Tower-AWX-Installation

Published: 17 March 2024
on channel: DevOpsBuddies
1,760
11

git clone https://github.com/ansible/awx-operat...
cd awx-operator
git checkout tags/2.7.2
export VERSION=2.7.2

There is a make target you can run:

make deploy

create a file called kustomization.yaml with the following content:

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
github.com/ansible/awx-operator/config/default?ref=tag
images:
name: quay.io/ansible/awx-operator
newTag: tag
namespace: awx

Install the manifests by running this:

$ kubectl apply -k .

Wait a bit and you should have the awx-operator running

Make sure to add this new file to the list of "resources" in your kustomization.yaml file:

...
resources:
github.com/ansible/awx-operator/config/default?ref=tag
Add this extra line:
awx-demo.yml
...
Finally, apply the changes to create the AWX instance in your cluster:

kubectl apply -k .


After a few seconds, you should see the operator begin to create new resources:

Once deployed, the AWX instance will be accessible by kubernetes nodeip:nodeport

By default, the admin user is admin and the password is available in the {resourcename}-admin-password secret. To retrieve the admin password, run:

$ kubectl get secret awx-demo-admin-password -o jsonpath="{.data.password}" | base64 --decode ; echo


Watch video Ansible-Tower-AWX-Installation online without registration, duration hours minute second in high quality. This video was added by user DevOpsBuddies 17 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,760 once and liked it 11 people.