summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/defaults
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2018-01-08 14:12:52 -0500
committerMichael Gugino <mgugino@redhat.com>2018-01-08 14:12:52 -0500
commit7819056aa716356416f421b3916954c040f2824f (patch)
tree99913b7d170157a6b4e5407adcd76a2f9679f170 /roles/openshift_node/defaults
parentfe2dbc1d9524b707288bc639e7e2bf71290dbe0b (diff)
downloadopenshift-7819056aa716356416f421b3916954c040f2824f.tar.gz
openshift-7819056aa716356416f421b3916954c040f2824f.tar.bz2
openshift-7819056aa716356416f421b3916954c040f2824f.tar.xz
openshift-7819056aa716356416f421b3916954c040f2824f.zip
Properly cast crio boolean variables to bool
Variables that are specifically booleans should be cast to bool. This is because users may sometimes pass them as string values. This is particularly prevalent when using ini-style inventories. Affected-by: https://github.com/ansible/ansible/issues/34591 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1531592
Diffstat (limited to 'roles/openshift_node/defaults')
-rw-r--r--roles/openshift_node/defaults/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_node/defaults/main.yml b/roles/openshift_node/defaults/main.yml
index 27fe2f5c0..c1fab4382 100644
--- a/roles/openshift_node/defaults/main.yml
+++ b/roles/openshift_node/defaults/main.yml
@@ -169,7 +169,7 @@ oreg_auth_credentials_path: "{{ openshift_node_data_dir }}/.docker"
oreg_auth_credentials_replace: False
l_bind_docker_reg_auth: False
openshift_use_crio: False
-openshift_docker_alternative_creds: "{{ (openshift_docker_use_system_container | default(False) | bool) or (openshift_use_crio_only | default(False)) }}"
+openshift_docker_alternative_creds: "{{ (openshift_docker_use_system_container | default(False) | bool) or (openshift_use_crio_only | default(False) | bool) }}"
openshift_docker_service_name: "{{ 'container-engine' if (openshift_docker_use_system_container | default(False) | bool) else 'docker' }}"