mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Output tweak in 0-init/tasks/validate_vars.yml
This commit is contained in:
parent
b596360b8d
commit
a1e77805a9
1 changed files with 2 additions and 2 deletions
|
@ -97,14 +97,14 @@
|
||||||
loop: "{{ vars_checklist }}"
|
loop: "{{ vars_checklist }}"
|
||||||
#register: enabled_vars_defined
|
#register: enabled_vars_defined
|
||||||
|
|
||||||
- name: Assert that {{ vars_checklist | length }} "XYZ_install" vars are all... type boolean (not type string, which can invert logic!)
|
- name: Assert that {{ vars_checklist | length }} "XYZ_install" vars are all... type boolean (NOT type string, which can invert logic!)
|
||||||
assert:
|
assert:
|
||||||
that: "{{ item }}_install | type_debug == 'bool'"
|
that: "{{ item }}_install | type_debug == 'bool'"
|
||||||
quiet: yes
|
quiet: yes
|
||||||
loop: "{{ vars_checklist }}"
|
loop: "{{ vars_checklist }}"
|
||||||
#register: install_vars_boolean
|
#register: install_vars_boolean
|
||||||
|
|
||||||
- name: Assert that {{ vars_checklist | length }} "XYZ_enabled" vars are all... type boolean (not type string, which can invert logic!)
|
- name: Assert that {{ vars_checklist | length }} "XYZ_enabled" vars are all... type boolean (NOT type string, which can invert logic!)
|
||||||
assert:
|
assert:
|
||||||
that: "{{ item }}_enabled | type_debug == 'bool'"
|
that: "{{ item }}_enabled | type_debug == 'bool'"
|
||||||
quiet: yes
|
quiet: yes
|
||||||
|
|
Loading…
Reference in a new issue