mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 08:17:39 -02:30
Copy collection integration tests in
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
- name: Export all Tower assets
|
||||
tower_receive:
|
||||
all: True
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is successful"
|
||||
|
||||
- name: Extract names from output
|
||||
set_fact:
|
||||
object_names: "{{ result.assets | map(attribute='name') | list }}"
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is successful"
|
||||
- "'Default' in object_names"
|
||||
Reference in New Issue
Block a user