mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-30 07:50:43 +00:00
allow tests to run with parameters
also fixed test_test_infra to allow tags
This commit is contained in:
parent
5cbdaff9fd
commit
a07495e4c8
2 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,8 @@
|
|||
- hosts: testhost
|
||||
gather_facts: no
|
||||
tasks:
|
||||
tags:
|
||||
- always
|
||||
tasks:
|
||||
- fail:
|
||||
ignore_errors: yes
|
||||
register: fail_out
|
||||
|
|
@ -14,7 +16,7 @@
|
|||
register: assert_out
|
||||
|
||||
- debug:
|
||||
msg: assert works ({{ assert_out.failed }})
|
||||
msg: assert works ({{ assert_out.failed }})
|
||||
|
||||
- fail:
|
||||
msg: fail actually failed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue