mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Update Collections Syntax to get Collection related CI Checks Passing (#16061)
* Fix collection task breaking collection ci checks * Patch ansible.module_utils.basic._ANSIBLE_PROFILE directly * Conditionalize other santity assertions * Remove added blank lines and identifier from Fail if absent and no identifier set
This commit is contained in:
@@ -127,7 +127,7 @@
|
||||
organization: Default
|
||||
kind: smart
|
||||
register: result
|
||||
ignore_errors: true
|
||||
ignore_errors: yes
|
||||
|
||||
- assert:
|
||||
that:
|
||||
@@ -187,13 +187,15 @@
|
||||
organization: test-non-existing-org
|
||||
state: present
|
||||
register: result
|
||||
ignore_errors: true
|
||||
ignore_errors: yes
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is failed"
|
||||
- "result is not changed"
|
||||
- "'test-non-existing-org' in result.msg"
|
||||
- >-
|
||||
'test-non-existing-org' in result.msg and
|
||||
'returned 0 items, expected 1' in result.msg
|
||||
- "result.total_results == 0"
|
||||
|
||||
always:
|
||||
|
||||
Reference in New Issue
Block a user