소스 검색

Cast openshift_enable_origin_repo to bool.

Andrew Butcher 8 년 전
부모
커밋
709cb65619
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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