summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-01-03 16:40:30 -0500
committerAndrew Butcher <abutcher@redhat.com>2017-01-04 10:58:49 -0500
commit709cb6561930f8b73d51c61dcc5dc4d821ca0eba (patch)
tree40fdd92970f3a5235ee36a826606a85a7a27c496
parent930102c3353a8ac8941df64fca3f76569dd982ae (diff)
downloadopenshift-709cb6561930f8b73d51c61dcc5dc4d821ca0eba.tar.gz
openshift-709cb6561930f8b73d51c61dcc5dc4d821ca0eba.tar.bz2
openshift-709cb6561930f8b73d51c61dcc5dc4d821ca0eba.tar.xz
openshift-709cb6561930f8b73d51c61dcc5dc4d821ca0eba.zip
Cast openshift_enable_origin_repo to bool.
-rw-r--r--roles/openshift_repos/tasks/main.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_repos/tasks/main.yaml b/roles/openshift_repos/tasks/main.yaml
index d5ed9c09d..23dcd0440 100644
--- a/roles/openshift_repos/tasks/main.yaml
+++ b/roles/openshift_repos/tasks/main.yaml
@@ -37,7 +37,7 @@
when: ansible_os_family == "RedHat" and ansible_distribution != "Fedora"
and openshift_deployment_type == 'origin'
and not openshift.common.is_containerized | bool
- and openshift_enable_origin_repo | default(true)
+ and openshift_enable_origin_repo | default(true) | bool
- name: Configure origin yum repositories RHEL/CentOS
copy:
@@ -47,4 +47,4 @@
when: ansible_os_family == "RedHat" and ansible_distribution != "Fedora"
and openshift_deployment_type == 'origin'
and not openshift.common.is_containerized | bool
- and openshift_enable_origin_repo | default(true)
+ and openshift_enable_origin_repo | default(true) | bool