diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-08-19 13:11:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-19 13:11:57 -0400 |
commit | 1dcf0cfda76b8adea076f98c55da4ba147e512df (patch) | |
tree | e2a18284c167c2b23e858693ce2b3be656aebec1 | |
parent | 7abcd773216b6bd61a893ee6eaee3ccdff494a31 (diff) | |
parent | e49b095b95b36f2afb43d8ef2322d37732df5d02 (diff) | |
download | openshift-1dcf0cfda76b8adea076f98c55da4ba147e512df.tar.gz openshift-1dcf0cfda76b8adea076f98c55da4ba147e512df.tar.bz2 openshift-1dcf0cfda76b8adea076f98c55da4ba147e512df.tar.xz openshift-1dcf0cfda76b8adea076f98c55da4ba147e512df.zip |
Merge pull request #2325 from sdodson/fileglobglob
Due to problems with with_fileglob lets avoid using it for now
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 |