mirror of https://github.com/ansible/ansible.git
Merge pull request #14888 from nitzmahone/test_test_infra
Smoke test test infrastucturepull/14846/head
commit
08e5240c87
@ -0,0 +1,21 @@
|
||||
- hosts: testhost
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- fail:
|
||||
ignore_errors: yes
|
||||
register: fail_out
|
||||
|
||||
- debug:
|
||||
msg: fail works ({{ fail_out.failed }})
|
||||
|
||||
- assert:
|
||||
that: false
|
||||
ignore_errors: yes
|
||||
register: assert_out
|
||||
|
||||
- debug:
|
||||
msg: assert works ({{ assert_out.failed }})
|
||||
|
||||
- fail:
|
||||
msg: fail actually failed
|
||||
|
Loading…
Reference in New Issue