]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: install ceph-fuse on clients 997/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 23 Sep 2016 03:00:02 +0000 (23:00 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 23 Sep 2016 03:01:44 +0000 (23:01 -0400)
Fixes #985.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
roles/ceph-common/tasks/installs/install_on_redhat.yml
roles/ceph-common/tasks/installs/install_rh_storage_on_debian.yml

index b3561fdbccb0b6ee623477457928995770da578a..8ce15734b8de236fcb476d4468530ef8fceff141 100644 (file)
       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"
index b82ca8833aa1e0b80607f860f8906365f0ad8ee5..1a67ef6ce3658a5dfffee6c50614b3531168c42b 100644 (file)
     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