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
17 lines
644 B
YAML
17 lines
644 B
YAML
---
|
|
# This is meant for Ubuntu and RedHat installations, where apparently the glusterfs-client is not used from inside
|
|
# hyperkube and needs to be installed as part of the system.
|
|
|
|
# Setup/install tasks.
|
|
- include: setup-RedHat.yml
|
|
when: ansible_os_family == 'RedHat' and groups['gfs-cluster'] is defined
|
|
|
|
- include: setup-Debian.yml
|
|
when: ansible_os_family == 'Debian' and groups['gfs-cluster'] is defined
|
|
|
|
- name: Ensure Gluster mount directories exist.
|
|
file: "path={{ item }} state=directory mode=0775"
|
|
with_items:
|
|
- "{{ gluster_mount_dir }}"
|
|
when: ansible_os_family in ["Debian","RedHat"] and groups['gfs-cluster'] is defined
|