summaryrefslogtreecommitdiffstats
path: root/roles/openshift_repos/tasks
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-02-23 15:37:03 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-02-23 15:37:03 -0500
commitb251805951a53315db58b6a59bf69c0cc0cfa407 (patch)
tree032d4ef513b226b62f0a7627e6df7e140e3fa02e /roles/openshift_repos/tasks
parent3e1430e5f59262a7627f2a2d4f7a554cfc4594e7 (diff)
parentee01881d33eb273698fde6423fce24388d152c62 (diff)
downloadopenshift-b251805951a53315db58b6a59bf69c0cc0cfa407.tar.gz
openshift-b251805951a53315db58b6a59bf69c0cc0cfa407.tar.bz2
openshift-b251805951a53315db58b6a59bf69c0cc0cfa407.tar.xz
openshift-b251805951a53315db58b6a59bf69c0cc0cfa407.zip
Merge pull request #1475 from davidmat/openshift_repos_paths
Fix openshift_repos role to support paths with spaces
Diffstat (limited to 'roles/openshift_repos/tasks')
-rw-r--r--roles/openshift_repos/tasks/main.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_repos/tasks/main.yaml b/roles/openshift_repos/tasks/main.yaml
index 8a75639c2..6143805ca 100644
--- a/roles/openshift_repos/tasks/main.yaml
+++ b/roles/openshift_repos/tasks/main.yaml
@@ -46,19 +46,19 @@
with_fileglob:
- '*/repos/*'
when: not (item | search("/files/fedora-" ~ openshift_deployment_type ~ "/repos")) and
- (ansible_distribution == "Fedora")
+ (ansible_distribution == "Fedora")
and not openshift.common.is_containerized | bool
notify: refresh cache
- name: Configure gpg keys if needed
- copy: src={{ item }} dest=/etc/pki/rpm-gpg/
+ copy: src="{{ item }}" dest=/etc/pki/rpm-gpg/
with_fileglob:
- "{{ openshift_deployment_type }}/gpg_keys/*"
notify: refresh cache
when: not openshift.common.is_containerized | bool
- name: Configure yum repositories RHEL/CentOS
- copy: src={{ item }} dest=/etc/yum.repos.d/
+ copy: src="{{ item }}" dest=/etc/yum.repos.d/
with_fileglob:
- "{{ openshift_deployment_type }}/repos/*"
notify: refresh cache
@@ -66,7 +66,7 @@
and not openshift.common.is_containerized | bool
- name: Configure yum repositories Fedora
- copy: src={{ item }} dest=/etc/yum.repos.d/
+ copy: src="{{ item }}" dest=/etc/yum.repos.d/
with_fileglob:
- "fedora-{{ openshift_deployment_type }}/repos/*"
notify: refresh cache