From 03a5504a653879fc8c1ed482146b64eafdccc4da Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Thu, 17 Nov 2016 14:38:29 -0500 Subject: Allow users to disable the origin repo creation --- roles/openshift_repos/tasks/main.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/openshift_repos') diff --git a/roles/openshift_repos/tasks/main.yaml b/roles/openshift_repos/tasks/main.yaml index 9be168611..a81867b98 100644 --- a/roles/openshift_repos/tasks/main.yaml +++ b/roles/openshift_repos/tasks/main.yaml @@ -37,6 +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) - name: Configure origin yum repositories RHEL/CentOS copy: @@ -46,3 +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) -- cgit v1.2.3