ansible-role-nfs/tasks/main.yml

23 lines
455 B
YAML
Raw Normal View History

2014-03-05 04:38:18 +01:00
---
# Setup/install tasks.
- include: setup-RedHat.yml
when: ansible_os_family == 'RedHat'
2014-03-05 04:38:18 +01:00
- include: setup-Debian.yml
when: ansible_os_family == 'Debian'
2014-11-12 22:02:07 +01:00
- 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'