Browse Source

Merge pull request #2344 from openshift/revert-2325-fileglobglob

Revert "Due to problems with with_fileglob lets avoid using it for now"
Scott Dodson 8 years ago
parent
commit
3e6d4304df

+ 0 - 0
roles/openshift_repos/files/openshift-enterprise/gpg_keys/.gitkeep


+ 0 - 0
roles/openshift_repos/files/openshift-enterprise/repos/.gitkeep


+ 2 - 2
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