Debian Codegraph @

test/integration/targets/no_log/no_log_suboptions_invalid.yml

raw
1 - name: test no log with suboptions
2 hosts: testhost
3 gather_facts: no
4 ignore_errors: yes
5
6 tasks:
7 - include_vars: secretvars.yml
8 no_log: true
9
10 - name: Task with suboptions and invalid parameter
11 module:
12 secret: "{{ s201 }}"
13 invalid: param
14 subopt_dict:
15 str_sub_opt1: "{{ s202 }}"
16 str_sub_opt2: otherstring
17 nested_subopt:
18 n_subopt1: "{{ s203 }}"
19
20 subopt_list:
21 - subopt1: "{{ s204 }}"
22 subopt2: thridstring
23 - subopt1: "{{ s205 }}"
24
25 - name: Task with suboptions as string with invalid parameter
26 module:
27 secret: "{{ s213 }}"
28 invalid: param
29 subopt_dict: str_sub_opt1={{ s206 }}
30
31 - name: Task with suboptions with dict instead of list
32 module:
33 secret: "{{ s207 }}"
34 subopt_dict:
35 str_sub_opt1: "{{ s208 }}"
36 str_sub_opt2: otherstring
37 nested_subopt:
38 n_subopt1: "{{ s209 }}"
39 subopt_list:
40 foo: bar
41
42 - name: Task with suboptions with incorrect data type
43 module:
44 secret: "{{ s210 }}"
45 subopt_dict: 9068.21361
46 subopt_list:
47 - subopt1: "{{ s211 }}"
48 - subopt1: "{{ s212 }}"