2017-08-03 21:30:25 +08:00
|
|
|
---
|
|
|
|
- name: configure red hat ceph community repository stable key
|
|
|
|
rpm_key:
|
|
|
|
key: "{{ ceph_stable_key }}"
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: configure red hat ceph stable community repository
|
|
|
|
yum_repository:
|
|
|
|
name: ceph_stable
|
|
|
|
description: Ceph Stable repo
|
|
|
|
gpgcheck: yes
|
|
|
|
state: present
|
|
|
|
gpgkey: "{{ ceph_stable_key }}"
|
|
|
|
baseurl: "{{ ceph_mirror }}/rpm-{{ ceph_stable_release }}/{{ ceph_stable_redhat_distro }}/$basearch"
|
2017-08-21 20:38:21 +08:00
|
|
|
|
|
|
|
- name: add nfs-ganesha stable repository
|
|
|
|
yum_repository:
|
|
|
|
name: nfs_ganesha_stable
|
|
|
|
description: nfs-ganesha stable repo
|
|
|
|
gpgcheck: yes
|
|
|
|
state: present
|
|
|
|
gpgkey: "{{ ceph_stable_key }}"
|
|
|
|
baseurl: "{{ ceph_mirror }}/nfs-ganesha/rpm-{{ nfs_ganesha_stable_branch }}/{{ ceph_stable_release }}/$basearch"
|
|
|
|
when:
|
|
|
|
- nfs_group_name in group_names
|
|
|
|
- nfs_ganesha_stable
|
|
|
|
|