mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-12-13 04:30:18 +01:00
22 lines
455 B
YAML
22 lines
455 B
YAML
---
|
|
# Setup/install tasks.
|
|
- include: setup-RedHat.yml
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
- include: setup-Debian.yml
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
- name: Copy exports file.
|
|
template:
|
|
src: exports.j2
|
|
dest: /etc/exports
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
|
|
# Configuration tasks.
|
|
- include: configure-RedHat.yml
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
- include: configure-Debian.yml
|
|
when: ansible_os_family == 'Debian'
|