Parcourir la source

Cast openshift_enable_origin_repo to bool.

Andrew Butcher il y a 8 ans
Parent
commit
709cb65619
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      roles/openshift_repos/tasks/main.yaml

+ 2 - 2
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