2017-08-03 21:30:25 +08:00
|
|
|
---
|
|
|
|
- name: configure debian ceph community repository stable key
|
|
|
|
apt_key:
|
|
|
|
data: "{{ lookup('file', role_path+'/files/cephstable.asc') }}"
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: configure debian ceph stable community repository
|
|
|
|
apt_repository:
|
|
|
|
repo: "deb {{ ceph_stable_repo }} {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
|
|
|
|
state: present
|
|
|
|
changed_when: false
|
|
|
|
|
2017-08-21 20:38:21 +08:00
|
|
|
- name: add nfs-ganesha stable repository
|
2017-08-03 21:30:25 +08:00
|
|
|
apt_repository:
|
2017-08-21 20:38:21 +08:00
|
|
|
repo: "deb {{ nfs_ganesha_stable_deb_repo }} {{ ceph_stable_distro_source | default(ansible_lsb.codename) }} main"
|
2017-08-03 21:30:25 +08:00
|
|
|
state: present
|
|
|
|
changed_when: false
|
|
|
|
when:
|
2017-08-21 20:38:21 +08:00
|
|
|
- nfs_group_name in group_names
|
|
|
|
- nfs_ganesha_stable
|