ansible/test/integration/test_test_infra.yml
Brian Coca a07495e4c8 allow tests to run with parameters
also fixed test_test_infra to allow tags
2016-03-10 10:50:14 -05:00

23 lines
366 B
YAML

- hosts: testhost
gather_facts: no
tags:
- always
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