add posibility to provide different yum repository directory (#2787)

This commit is contained in:
Aivars Sterns
2018-05-16 13:56:04 +03:00
committed by Matthew Mosesohn
parent 4ac79993e2
commit eba486f229
2 changed files with 2 additions and 1 deletions

View File

@@ -85,7 +85,7 @@
- name: Configure docker repository on RedHat/CentOS
template:
src: "rh_docker.repo.j2"
dest: "/etc/yum.repos.d/docker.repo"
dest: "{{ yum_repo_dir }}/docker.repo"
when: ansible_distribution in ["CentOS","RedHat"] and not is_atomic
- name: Copy yum.conf for editing