e9d29b1fe4
* Get no_log parameters from subspec * Add changelog and unit tests * Handle list of dicts in suboptions Add fancy error message (this will probably haunt me) * Update unit tests to test for list of dicts in suboptions * Add integration tests * Validate parameters in dict and list In case it comes in as a string * Make changes based on feedback, fix tests * Simplify validators since we only need to validate dicts Add test for suboptions passed in as strings to ensure they get validated properly and turned into a dictionary. ci_complete * Add a few more integration tests
24 lines
542 B
YAML
24 lines
542 B
YAML
- name: test no log with suboptions
|
|
hosts: testhost
|
|
gather_facts: no
|
|
|
|
tasks:
|
|
- name: Task with suboptions
|
|
module:
|
|
secret: GLAMOROUS
|
|
subopt_dict:
|
|
str_sub_opt1: AFTERMATH
|
|
str_sub_opt2: otherstring
|
|
nested_subopt:
|
|
n_subopt1: MANPOWER
|
|
|
|
subopt_list:
|
|
- subopt1: UNTAPPED
|
|
subopt2: thridstring
|
|
|
|
- subopt1: CONCERNED
|
|
|
|
- name: Task with suboptions as string
|
|
module:
|
|
secret: MARLIN
|
|
subopt_dict: str_sub_opt1=FLICK
|