9ffc65f8f3
* Lint everything in the repository with yamllint * yamllint fixes: syntax fixes only * yamllint fixes: move comments to play names * yamllint fixes: indent comments in .gitlab-ci.yml file
24 lines
504 B
YAML
24 lines
504 B
YAML
---
|
|
- name: "Load lvm kernel modules"
|
|
become: true
|
|
with_items:
|
|
- "dm_snapshot"
|
|
- "dm_mirror"
|
|
- "dm_thin_pool"
|
|
modprobe:
|
|
name: "{{ item }}"
|
|
state: "present"
|
|
|
|
- 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'"
|