Merge pull request #997 from batrick/client-ceph-fuse

ceph-common: install ceph-fuse on clients
pull/999/head
Leseb 2016-09-23 12:17:31 +02:00 committed by GitHub
commit 614ee4937d
2 changed files with 30 additions and 0 deletions

View File

@ -171,6 +171,30 @@
or ceph_dev
or ceph_custom
- name: install distro or red hat storage ceph-fuse via yum
yum:
name: "ceph-fuse"
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
when:
- client_group_name in group_names
- ansible_pkg_mgr == "yum"
- (ceph_stable and ceph_stable_release not in ceph_stable_releases)
or ceph_origin == "distro"
or ceph_dev
or ceph_custom
- name: install distro or red hat storage ceph-fuse via dnf
dnf:
name: "ceph-fuse"
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
when:
- client_group_name in group_names
- ansible_pkg_mgr == "dnf"
- (ceph_stable and ceph_stable_release not in ceph_stable_releases)
or ceph_origin == "distro"
or ceph_dev
or ceph_custom
- name: install distro or red hat storage ceph base via yum
yum:
name: "ceph-base"

View File

@ -69,6 +69,12 @@
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
when: mds_group_name in group_names
- name: install red hat storage ceph-fuse client
apt:
pkg: ceph-fuse
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
when: client_group_name in group_names
- name: install red hat storage ceph-common
apt:
pkg: ceph-common