mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2025-01-05 15:00:21 +01:00
Adapt nfs_server_daemon for RHEL7
This commit is contained in:
parent
d25407f994
commit
6986526cc8
2 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
# Include variables and define needed variables.
|
||||
- name: Include OS-specific variables.
|
||||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
when: ansible_os_family == 'Debian' or (ansible_os_family == 'RedHat' and ansible_distribution_major_version != '7')
|
||||
|
||||
- name: Inlcude Redhat 7 variables
|
||||
include_vars: Redhat-7.yml
|
||||
when: ansible_os_family == 'RedHat' and ansible_distribution_major_version == "7"
|
||||
|
||||
# Setup/install tasks.
|
||||
- include: setup-RedHat.yml
|
||||
|
|
2
vars/Redhat-7.yml
Normal file
2
vars/Redhat-7.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
nfs_server_daemon: nfs-server
|
Loading…
Reference in a new issue