mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
update test logic
This commit is contained in:
parent
46fb2d2086
commit
9d500e89f5
@ -11,6 +11,17 @@
|
||||
group_name1: "AWX-Collection-tests-tower_instance_group-group1-{{ test_id }}"
|
||||
|
||||
- block:
|
||||
|
||||
- name: Create an Instance Group
|
||||
tower_instance_group:
|
||||
name: "{{ group_name1 }}"
|
||||
state: present
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
- name: Create an Insights Credential
|
||||
tower_credential:
|
||||
name: "{{ cred_name1 }}"
|
||||
@ -26,16 +37,6 @@
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
- name: Create an Instance Group
|
||||
tower_instance_group:
|
||||
name: "{{ group_name1 }}"
|
||||
state: present
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
- name: Create an Inventory
|
||||
tower_inventory:
|
||||
name: "{{ inv_name1 }}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user