Skip to content
Snippets Groups Projects
Commit 3d09c4be authored by Spencer Smith's avatar Spencer Smith Committed by GitHub
Browse files

Merge pull request #1756 from kubernetes-incubator/fix_bool_assert

Fix bool check assert
parents f2db1587 1be4c193
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,8 @@
- name: "Stop if known booleans are set as strings (Use JSON format on CLI: -e \"{'key': true }\")"
assert:
that: item|type_debug == 'bool'
that: hostvars[inventory_hostname][item]|type_debug == 'bool'
msg: "{{hostvars[inventory_hostname][item]}} isn't a bool"
run_once: yes
with_items:
- kubeadm_enabled
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment