mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Moving towards AWX as the default
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
ansible_python_interpreter: '{{ ansible_playbook_python }}'
|
||||
|
||||
tasks:
|
||||
- name: Get tower Pod data
|
||||
- name: Get AWX Pod data
|
||||
k8s_info:
|
||||
kind: Pod
|
||||
namespace: example-tower
|
||||
namespace: example-awx
|
||||
label_selectors:
|
||||
- app=tower
|
||||
- app=awx
|
||||
register: tower_pods
|
||||
|
||||
- name: Verify there is one tower pod
|
||||
- name: Verify there is one AWX pod
|
||||
assert:
|
||||
that: '{{ (tower_pods.resources | length) == 1 }}'
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
vars:
|
||||
ansible_python_interpreter: '{{ ansible_playbook_python }}'
|
||||
roles:
|
||||
- tower
|
||||
- awx
|
||||
|
||||
- import_playbook: '{{ playbook_dir }}/asserts.yml'
|
||||
|
||||
Reference in New Issue
Block a user