mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-16 18:50:08 -03:30
Fix bool check assert
This commit is contained in:
@@ -30,7 +30,8 @@
|
|||||||
|
|
||||||
- name: "Stop if known booleans are set as strings (Use JSON format on CLI: -e \"{'key': true }\")"
|
- name: "Stop if known booleans are set as strings (Use JSON format on CLI: -e \"{'key': true }\")"
|
||||||
assert:
|
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
|
run_once: yes
|
||||||
with_items:
|
with_items:
|
||||||
- kubeadm_enabled
|
- kubeadm_enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user