Skip to content

aknochow/install-awx

Repository files navigation

Install-AWX

Install AWX Operator on a Kubernetes cluster

Run this playbook on a prepared host:

ansible-playbook install-awx.yaml

Obtain the admin password by getting the secret from the cluster: kubectl -n awx get secret awx-admin-password -o jsonpath='{.data.password}' | base64 --decode

k8s tested:

  • IBM Cloud IKS

Choose an appropriate block storageclass for postgres. (https://ibm.github.io/kubernetes-storage/Lab3/)

Example in awx cr:

postgres_storage_class: ibmc-block-bronze

  • k3s
  • k3d
  • kind

Requirements

  1. Ansible

  2. pip packages:

    • authlib>=3.2.0
    • kubernetes
  3. Galaxy Collections:

    • community.general
    • kubernetes.core

Prepare host automatically (Ansible must be pre-installed)

This will install the requirements but may not work on systems with non-standard python installations

./prepare.sh

or run the steps manually:

ansible-galaxy collection install -r requirements.yaml

ansible-playbook prepare.yaml

Uninstall AWX

This uninstalls awx and the operator deployment using the saved credentials

This deletes the namespace that AWX is in...

Be careful with this...

ansible-playbook uninstall-awx.yaml -e "awx_hostname=thehostnameinyourartifactsdiryouwanttouninstall"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published