diff options
author | Michael Gugino <mgugino@redhat.com> | 2018-01-02 14:21:36 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2018-01-02 14:23:04 -0500 |
commit | 1a99f2ee9fac6dfe02e56e227874371b40a0b4fe (patch) | |
tree | 98c2db413ea909ef498e04c5a68a291076d27f71 /roles/contiv | |
parent | eb43e2b79ed34dca04bff5522190ff7735814a7a (diff) | |
download | openshift-1a99f2ee9fac6dfe02e56e227874371b40a0b4fe.tar.gz openshift-1a99f2ee9fac6dfe02e56e227874371b40a0b4fe.tar.bz2 openshift-1a99f2ee9fac6dfe02e56e227874371b40a0b4fe.tar.xz openshift-1a99f2ee9fac6dfe02e56e227874371b40a0b4fe.zip |
Cast openshift_docker_use_system_container to bool
openshift_docker_use_system_container might be passed
in via ini inventory as 'openshift_docker_use_system_container=false'
This condition will be interpreted as a string type, instead of
boolean.
Casting openshift_docker_use_system_container as bool
will achieve the users desired intent.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1528943
Diffstat (limited to 'roles/contiv')
-rw-r--r-- | roles/contiv/defaults/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/contiv/defaults/main.yml b/roles/contiv/defaults/main.yml index 8d06a5e96..0825af8a5 100644 --- a/roles/contiv/defaults/main.yml +++ b/roles/contiv/defaults/main.yml @@ -119,4 +119,4 @@ contiv_h1_gw_default: "10.129.0.1" # contiv default private subnet for ext access contiv_private_ext_subnet: "10.130.0.0/16" -openshift_docker_service_name: "{{ 'container-engine' if (openshift_docker_use_system_container | default(False)) else 'docker' }}" +openshift_docker_service_name: "{{ 'container-engine' if (openshift_docker_use_system_container | default(False) | bool) else 'docker' }}" |