1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

Output tweak in 0-init/tasks/validate_vars.yml

This commit is contained in:
A Holt 2020-01-21 19:47:00 -05:00 committed by GitHub
parent b596360b8d
commit a1e77805a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,14 +97,14 @@
loop: "{{ vars_checklist }}"
#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:
that: "{{ item }}_install | type_debug == 'bool'"
quiet: yes
loop: "{{ vars_checklist }}"
#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:
that: "{{ item }}_enabled | type_debug == 'bool'"
quiet: yes