Fix up warnings and deprecations (#1848)

This commit is contained in:
Matthew Mosesohn
2017-10-20 08:25:57 +01:00
committed by GitHub
parent 514359e556
commit 0b4fcc83bd
4 changed files with 6 additions and 10 deletions

View File

@@ -30,8 +30,8 @@
- name: "Stop if known booleans are set as strings (Use JSON format on CLI: -e \"{'key': true }\")"
assert:
that: hostvars[inventory_hostname][item]|type_debug == 'bool'
msg: "{{hostvars[inventory_hostname][item]}} isn't a bool"
that: vars[item]|type_debug == 'bool'
msg: "{{vars[item]}} isn't a bool"
run_once: yes
with_items:
- kubeadm_enabled
@@ -40,7 +40,7 @@
- download_always_pull
- efk_enabled
- helm_enabled
- openstack_lbaas_Enabled
- openstack_lbaas_enabled
- rbac_enabled
ignore_errors: "{{ ignore_assert_errors }}"