mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-12-13 04:30:18 +01:00
Merge pull request #16 from djipko/master
Add support for Fedora systems
This commit is contained in:
commit
8dbcd26feb
3 changed files with 7 additions and 1 deletions
|
@ -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'
|
||||
|
|
|
@ -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
2
vars/Fedora.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
nfs_server_daemon: nfs-server
|
Loading…
Reference in a new issue