Merge pull request #16 from djipko/master

Add support for Fedora systems
This commit is contained in:
Jeff Geerling 2016-03-11 10:43:09 -06:00
commit 8dbcd26feb
3 changed files with 7 additions and 1 deletions

View file

@ -7,6 +7,10 @@
include_vars: RedHat-7.yml
when: ansible_os_family == 'RedHat' and ansible_distribution_major_version == "7"
- name: Include overrides specific to Fedora.
include_vars: Fedora.yml
when: ansible_os_family == 'RedHat' and ansible_distribution == "Fedora"
# Setup/install tasks.
- include: setup-RedHat.yml
when: ansible_os_family == 'RedHat'

View file

@ -1,6 +1,6 @@
---
- name: Ensure NFS utilities are installed.
yum: name=nfs-utils state=installed
package: name=nfs-utils state=installed
- name: Ensure rpcbind is running.
service: name=rpcbind state=started enabled=yes

2
vars/Fedora.yml Normal file
View file

@ -0,0 +1,2 @@
---
nfs_server_daemon: nfs-server