mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 14:22:49 +00:00
Add playbook for deploying an instance of AWX
This commit is contained in:
26
ansible/instantiate-awx-deployment.yml
Normal file
26
ansible/instantiate-awx-deployment.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy an instance of AWX using the awx-operator
|
||||||
|
hosts: localhost
|
||||||
|
|
||||||
|
collections:
|
||||||
|
- community.kubernetes
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Deploy AWX
|
||||||
|
k8s:
|
||||||
|
state: "{{ state | default('present') }}"
|
||||||
|
namespace: awx
|
||||||
|
apply: yes
|
||||||
|
wait: yes
|
||||||
|
definition:
|
||||||
|
apiVersion: awx.ansible.com/v1beta1
|
||||||
|
kind: AWX
|
||||||
|
metadata:
|
||||||
|
name: awx
|
||||||
|
spec:
|
||||||
|
deployment_type: awx
|
||||||
|
tower_admin_user: test
|
||||||
|
tower_admin_email: test@example.com
|
||||||
|
tower_admin_password: changeme
|
||||||
|
tower_broadcast_websocket_secret: changeme
|
||||||
|
tower_ingress_type: Route
|
||||||
Reference in New Issue
Block a user