a99212464c
* Add explicit intg tests for argspec functionality * ci_complete ci_coverage * Remove incidental_consul and incidental_setup_openssl * ci_complete ci_coverage
33 lines
700 B
YAML
33 lines
700 B
YAML
- argspec:
|
|
state: absent
|
|
register: argspec_simple_good
|
|
|
|
- argspec:
|
|
state: present
|
|
register: argspec_required_if_fail
|
|
ignore_errors: true
|
|
|
|
- argspec:
|
|
state: present
|
|
path: foo
|
|
register: argspec_required_if_good1
|
|
|
|
- argspec:
|
|
state: present
|
|
content: foo
|
|
register: argspec_required_if_good2
|
|
|
|
- argspec:
|
|
state: present
|
|
content: foo
|
|
path: foo
|
|
register: argspec_mutually_exclusive_fail
|
|
ignore_errors: true
|
|
|
|
- assert:
|
|
that:
|
|
- argspec_simple_good is successful
|
|
- argspec_required_if_fail is failed
|
|
- argspec_required_if_good1 is successful
|
|
- argspec_required_if_good2 is successful
|
|
- argspec_mutually_exclusive_fail is failed
|