2018-06-25 11:23:20 +00:00
|
|
|
---
|
|
|
|
- name: "Load lvm kernel modules"
|
|
|
|
become: true
|
|
|
|
with_items:
|
2019-04-01 09:38:33 +00:00
|
|
|
- "dm_snapshot"
|
|
|
|
- "dm_mirror"
|
|
|
|
- "dm_thin_pool"
|
2018-06-25 11:23:20 +00:00
|
|
|
modprobe:
|
2019-04-01 09:38:33 +00:00
|
|
|
name: "{{ item }}"
|
|
|
|
state: "present"
|
2018-06-25 11:23:20 +00:00
|
|
|
|
2018-06-25 11:37:58 +00:00
|
|
|
- name: "Install glusterfs mount utils (RedHat)"
|
2018-06-25 11:23:20 +00:00
|
|
|
become: true
|
2021-06-05 11:16:39 +00:00
|
|
|
package:
|
2019-04-01 09:38:33 +00:00
|
|
|
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:
|
2019-04-01 09:38:33 +00:00
|
|
|
name: "glusterfs-client"
|
|
|
|
state: "present"
|
2018-06-25 11:37:58 +00:00
|
|
|
when: "ansible_os_family == 'Debian'"
|