Browse Source

add debian compatibility

pull/2931/head
Sascha Marcel Schmidt 6 years ago
parent
commit
8c5bfc7718
No known key found for this signature in database GPG Key ID: D1D6CE184437796D
1 changed files with 9 additions and 1 deletions
  1. 10
      contrib/network-storage/heketi/roles/prepare/tasks/main.yml

10
contrib/network-storage/heketi/roles/prepare/tasks/main.yml

@ -9,8 +9,16 @@
name: "{{ item }}"
state: "present"
- name: "Install glusterfs mount utils"
- name: "Install glusterfs mount utils (RedHat)"
become: true
yum:
name: "glusterfs-fuse"
state: "present"
when: "ansible_os_family == 'RedHat'"
- name: "Install glusterfs mount utils (Debian)"
become: true
apt:
name: "glusterfs-client"
state: "present"
when: "ansible_os_family == 'Debian'"
Loading…
Cancel
Save