add debian compatibility

This commit is contained in:
Sascha Marcel Schmidt 2018-06-25 13:37:58 +02:00
parent 61046a6923
commit 8c5bfc7718
No known key found for this signature in database
GPG key ID: D1D6CE184437796D

View file

@ -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'"