summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-08-18 16:23:11 -0400
committerScott Dodson <sdodson@redhat.com>2016-08-18 16:23:11 -0400
commite49b095b95b36f2afb43d8ef2322d37732df5d02 (patch)
tree3f37c7979520e0b8407f9566be3b2f10f3ebac39 /roles
parent3dbd7ed2cf97092ef346f26bac802c3a4624c247 (diff)
downloadopenshift-e49b095b95b36f2afb43d8ef2322d37732df5d02.tar.gz
openshift-e49b095b95b36f2afb43d8ef2322d37732df5d02.tar.bz2
openshift-e49b095b95b36f2afb43d8ef2322d37732df5d02.tar.xz
openshift-e49b095b95b36f2afb43d8ef2322d37732df5d02.zip
Due to problems with with_fileglob lets avoid using it for now
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_repos/files/openshift-enterprise/gpg_keys/.gitkeep0
-rw-r--r--roles/openshift_repos/files/openshift-enterprise/repos/.gitkeep0
-rw-r--r--roles/openshift_repos/tasks/main.yaml4
3 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_repos/files/openshift-enterprise/gpg_keys/.gitkeep b/roles/openshift_repos/files/openshift-enterprise/gpg_keys/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
--- a/roles/openshift_repos/files/openshift-enterprise/gpg_keys/.gitkeep
+++ /dev/null
diff --git a/roles/openshift_repos/files/openshift-enterprise/repos/.gitkeep b/roles/openshift_repos/files/openshift-enterprise/repos/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
--- a/roles/openshift_repos/files/openshift-enterprise/repos/.gitkeep
+++ /dev/null
diff --git a/roles/openshift_repos/tasks/main.yaml b/roles/openshift_repos/tasks/main.yaml
index 07a8d28fd..387ef1fbb 100644
--- a/roles/openshift_repos/tasks/main.yaml
+++ b/roles/openshift_repos/tasks/main.yaml
@@ -37,12 +37,12 @@
- "fedora-openshift-enterprise/repos/*"
- "fedora-origin/repos/*"
- "online/repos/*"
- - "openshift-enterprise/repos/*"
- "origin/repos/*"
- "removed/repos/*"
when: not openshift.common.is_containerized | bool
and not (item | search("/files/" ~ openshift_deployment_type ~ "/repos"))
and (ansible_os_family == "RedHat" and ansible_distribution != "Fedora")
+ and not openshift_deployment_type == 'openshift-enterprise'
notify: refresh cache
- name: Remove any yum repo files for other deployment types Fedora
@@ -53,12 +53,12 @@
- "fedora-openshift-enterprise/repos/*"
- "fedora-origin/repos/*"
- "online/repos/*"
- - "openshift-enterprise/repos/*"
- "origin/repos/*"
- "removed/repos/*"
when: not openshift.common.is_containerized | bool
and not (item | search("/files/fedora-" ~ openshift_deployment_type ~ "/repos"))
and (ansible_distribution == "Fedora")
+ and not openshift_deployment_type == 'openshift-enterprise'
notify: refresh cache
- name: Configure gpg keys if needed