Просмотр исходного кода

Cast openshift_enable_origin_repo to bool.

Andrew Butcher 8 лет назад
Родитель
Сommit
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