Difference between revisions of "AWX"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
https://github.com/ansible/awx/blob/devel/INSTALL.md | https://github.com/ansible/awx/blob/devel/INSTALL.md | ||
+ | |||
+ | |||
+ | |||
+ | jawk.mkcert.sh | ||
+ | ``` | ||
+ | # kubectl create secret tls ${CERT_NAME} --key ${KEY_FILE} --cert ${CERT_FILE} | ||
+ | microk8s kubectl delete secret ${CERT_NAME} | true | ||
+ | microk8s kubectl create secret tls ${CERT_NAME} --key ${KEY_FILE} --cert ${CERT_FILE} | ||
+ | ``` | ||
+ | |||
+ | jawx.secret | ||
+ | ``` | ||
+ | --- | ||
+ | apiVersion: v1 | ||
+ | kind: Secret | ||
+ | metadata: | ||
+ | name: jawx-admin-password | ||
+ | namespace: default | ||
+ | stringData: | ||
+ | password: foo | ||
+ | ``` | ||
+ | |||
+ | jawx.yml | ||
+ | ``` | ||
+ | --- | ||
+ | apiVersion: awx.ansible.com/v1beta1 | ||
+ | kind: AWX | ||
+ | metadata: | ||
+ | name: jawx | ||
+ | spec: | ||
+ | tower_ingress_type: Ingress | ||
+ | tower_admin_password_secret: jawx-admin-password | ||
+ | ``` | ||
+ | |||
+ | ``` | ||
+ | k get secret jawx-admin-password -o=json | jq -r .data.password | base64 --decode | ||
+ | ``` | ||
+ | |||
+ | |||
+ | # Other | ||
Install via docker | Install via docker |
Revision as of 13:46, 19 March 2021
https://hub.docker.com/r/ansible/awx
https://github.com/ansible/awx/blob/devel/INSTALL.md
jawk.mkcert.sh
# kubectl create secret tls ${CERT_NAME} --key ${KEY_FILE} --cert ${CERT_FILE} microk8s kubectl delete secret ${CERT_NAME} | true microk8s kubectl create secret tls ${CERT_NAME} --key ${KEY_FILE} --cert ${CERT_FILE}
jawx.secret
--- apiVersion: v1 kind: Secret metadata: name: jawx-admin-password namespace: default stringData: password: foo
jawx.yml
--- apiVersion: awx.ansible.com/v1beta1 kind: AWX metadata: name: jawx spec: tower_ingress_type: Ingress tower_admin_password_secret: jawx-admin-password
k get secret jawx-admin-password -o=json | jq -r .data.password | base64 --decode
Other
Install via docker
apt install ansible git cone https://github.com/ansible/awx cd awx make docker-compose
https://computingforgeeks.com/how-to-install-ansible-awx-on-ubuntu-linux/
https://github.com/ansible/awx-operator
Try
apiVersion: awx.ansible.com/v1beta1 kind: AWX metadata: name: awx namespace: ndo spec: tower_admin_email: change@me.com tower_admin_password: changeme tower_admin_user: changeme tower_broadcast_websocket_secret: changeme tower_hostname: awx.dev03.ndo tower_image: ansible/awx:17.0.1 tower_ingress_annotations: |- nginx.ingress.kubernetes.io/proxy-body-size: '0' nginx.ingress.kubernetes.io/proxy-read-timeout: '600' nginx.ingress.kubernetes.io/proxy-send-timeout: '600' cert-manager.io/cluster-issuer: "ca-issuer" tower_ingress_tls_secret: awx-tls-secret tower_ingress_type: Ingress tower_postgres_storage_class: longhorn