diff options
author | David Mat <david.mat@archimiddle.com> | 2016-02-23 16:06:07 +0100 |
---|---|---|
committer | David Mat <david.mat@archimiddle.com> | 2016-02-23 16:06:07 +0100 |
commit | ee01881d33eb273698fde6423fce24388d152c62 (patch) | |
tree | 8ba41128bfe1b2b069847a3ab0c89c2a38303d20 /roles/openshift_repos | |
parent | dc8938e01202db0464e54becf4812c3191ce2d51 (diff) | |
download | openshift-ee01881d33eb273698fde6423fce24388d152c62.tar.gz openshift-ee01881d33eb273698fde6423fce24388d152c62.tar.bz2 openshift-ee01881d33eb273698fde6423fce24388d152c62.tar.xz openshift-ee01881d33eb273698fde6423fce24388d152c62.zip |
Add quotes around src argument to support paths with spaces
Diffstat (limited to 'roles/openshift_repos')
-rw-r--r-- | roles/openshift_repos/tasks/main.yaml | 8 |
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 |