ceph-common: install ceph-fuse on clients

Fixes #985.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
pull/997/head
Patrick Donnelly 2016-09-22 23:00:02 -04:00
parent d7699672a8
commit 2bf06246a8
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB
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