4a82e2c486
* fix error msg on bad subset * added test * handle more raised but not handled fact exceptions
13 lines
317 B
YAML
13 lines
317 B
YAML
- hosts: localhost
|
|
gather_facts: false
|
|
tasks:
|
|
- name: bad subset used
|
|
setup: gather_subset=nonsense
|
|
register: bad_sub
|
|
ignore_errors: true
|
|
|
|
- name: verify we fail the right way
|
|
assert:
|
|
that:
|
|
- bad_sub is failed
|
|
- "'MODULE FAILURE' not in bad_sub['msg']"
|