Ability to generate repos for localmirror

pull/623/head
Behzad Dastur 2016-03-24 15:54:39 +00:00
parent 23a002f0c5
commit 8d8417609c
2 changed files with 4 additions and 6 deletions

View File

@ -67,11 +67,6 @@ dummy:
# you will get whatever version of Ceph is included in your Linux distro. # you will get whatever version of Ceph is included in your Linux distro.
# #
#ceph_use_distro_backports: false # DEBIAN ONLY #ceph_use_distro_backports: false # DEBIAN ONLY
# Custom repo files when using local mirror (option ceph_origin: 'distro')
# repolist:
# - { src: "/<path to repo file>/localmirror_ceph.repo", dest: "/etc/yum.repos.d/ceph.repo" }
#
# STABLE # STABLE
######## ########

View File

@ -3,9 +3,12 @@
# Additional/optiona step to generate repos.d file for local mirrors. # Additional/optiona step to generate repos.d file for local mirrors.
# Defines deployment design and assigns role to server groups # Defines deployment design and assigns role to server groups
- hosts: * - hosts: all
max_fail_percentage: 0 max_fail_percentage: 0
become: True become: True
vars:
repolist:
- { src: "/<path to repo file>/localmirror_ceph.repo", dest: "/etc/yum.repos.d/ceph.repo" }
tasks: tasks:
- name: Copy User provided repo files to /etc/yum.repos.d/ - name: Copy User provided repo files to /etc/yum.repos.d/
copy: copy: