@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
23 lines (19 loc) • 534 B
YAML
- name: Ensure GlusterFS is installed
dnf:
name: glusterfs-server
state: present
update_cache: true
when: ansible_distribution == 'Fedora'
- name: Ensure CentOS Storage SIG repository is installed
dnf:
name: centos-release-gluster
update_cache: true
when: ansible_distribution != 'Fedora'
- name: Ensure GlusterFS is installed
dnf:
name: glusterfs-server
update_cache: true
when: ansible_distribution != 'Fedora'
- name: Run generic configuration tasks
include_tasks: config-Linux.yml