summaryrefslogtreecommitdiffstats
path: root/roles/openshift_repos
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-11-17 14:45:57 -0500
committerGitHub <noreply@github.com>2016-11-17 14:45:57 -0500
commitac1b73841a109f6e9f6947434a9e1aca382e61c6 (patch)
tree97d4bb53fa6e9e0d961f11b7830593777dd8b52e /roles/openshift_repos
parent6782fa3c9e01b02e6a29e676f6bbe53d040b9708 (diff)
parent03a5504a653879fc8c1ed482146b64eafdccc4da (diff)
downloadopenshift-ac1b73841a109f6e9f6947434a9e1aca382e61c6.tar.gz
openshift-ac1b73841a109f6e9f6947434a9e1aca382e61c6.tar.bz2
openshift-ac1b73841a109f6e9f6947434a9e1aca382e61c6.tar.xz
openshift-ac1b73841a109f6e9f6947434a9e1aca382e61c6.zip
Merge pull request #2821 from sdodson/disable-origin-repo
Allow users to disable the origin repo creation
Diffstat (limited to 'roles/openshift_repos')
-rw-r--r--roles/openshift_repos/tasks/main.yaml2
1 files changed, 2 insertions, 0 deletions
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)