mirror of https://github.com/ceph/ceph-ansible.git
Ability to generate repos for localmirror
parent
23a002f0c5
commit
8d8417609c
|
@ -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
|
||||||
########
|
########
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue