]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Ability to generate repos for localmirror
authorBehzad Dastur <behzad_dastur@symantec.com>
Thu, 24 Mar 2016 15:54:39 +0000 (15:54 +0000)
committerBehzad Dastur <behzad_dastur@symantec.com>
Thu, 24 Mar 2016 15:54:39 +0000 (15:54 +0000)
group_vars/all.sample
localrepo-site.yml.sample

index 445c57c2fe2baefc0362cc2128c3c68f7bbd83a5..8ea72b35779f6a40b780e52baed42b8c9e56f674 100644 (file)
@@ -67,11 +67,6 @@ dummy:
 # you will get whatever version of Ceph is included in your Linux distro.
 #
 #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
 ########
index 591bbe03e4d2c923a728cd4c539c6a0df63837e5..5984852d0ad49cebbfbf9cd4bebce87869ccbad7 100644 (file)
@@ -3,9 +3,12 @@
 # Additional/optiona step to generate repos.d file for local mirrors.
 # Defines deployment design and assigns role to server groups
 
-- hosts: *
+- hosts: all 
   max_fail_percentage: 0
   become: True
+  vars:
+    repolist:
+      - { src: "/<path to repo file>/localmirror_ceph.repo", dest: "/etc/yum.repos.d/ceph.repo" }
   tasks:
     - name: Copy User provided repo files to /etc/yum.repos.d/
       copy: