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

25 lines
504 B
YAML
Raw Normal View History

---
- name: "Load lvm kernel modules"
become: true
with_items:
- "dm_snapshot"
- "dm_mirror"
- "dm_thin_pool"
modprobe:
name: "{{ item }}"
state: "present"
2018-06-25 11:37:58 +00:00
- name: "Install glusterfs mount utils (RedHat)"
become: true
yum:
name: "glusterfs-fuse"
state: "present"
2018-06-25 11:37:58 +00:00
when: "ansible_os_family == 'RedHat'"
- name: "Install glusterfs mount utils (Debian)"
become: true
apt:
name: "glusterfs-client"
state: "present"
2018-06-25 11:37:58 +00:00
when: "ansible_os_family == 'Debian'"