diff --git a/group_vars/all.sample b/group_vars/all.sample index 445c57c2f..8ea72b357 100644 --- a/group_vars/all.sample +++ b/group_vars/all.sample @@ -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: "//localmirror_ceph.repo", dest: "/etc/yum.repos.d/ceph.repo" } -# - # STABLE ######## diff --git a/localrepo-site.yml.sample b/localrepo-site.yml.sample index 591bbe03e..5984852d0 100644 --- a/localrepo-site.yml.sample +++ b/localrepo-site.yml.sample @@ -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: "//localmirror_ceph.repo", dest: "/etc/yum.repos.d/ceph.repo" } tasks: - name: Copy User provided repo files to /etc/yum.repos.d/ copy: