mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-11-08 12:53:30 +01:00
Merge pull request #43 from laddp/rhel8-support
Update to work for RHEL8 and future proof by making RHEL-6 the except…
This commit is contained in:
commit
9794a9dfc9
4 changed files with 6 additions and 6 deletions
|
@ -3,11 +3,11 @@
|
||||||
- name: Include OS-specific variables.
|
- name: Include OS-specific variables.
|
||||||
include_vars: "{{ ansible_os_family }}.yml"
|
include_vars: "{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
- name: Include overrides specific to RHEL 7.
|
- name: Include overrides specific to RHEL 6 and below
|
||||||
include_vars: RedHat-7.yml
|
include_vars: RedHat-6.yml
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'RedHat'
|
- ansible_os_family == 'RedHat'
|
||||||
- ansible_distribution_major_version == "7"
|
- ansible_distribution_major_version < "7"
|
||||||
|
|
||||||
- name: Include overrides specific to Fedora.
|
- name: Include overrides specific to Fedora.
|
||||||
include_vars: Fedora.yml
|
include_vars: Fedora.yml
|
||||||
|
|
2
vars/RedHat-6.yml
Normal file
2
vars/RedHat-6.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
nfs_server_daemon: nfs
|
|
@ -1,2 +0,0 @@
|
||||||
---
|
|
||||||
nfs_server_daemon: nfs-server
|
|
|
@ -1,2 +1,2 @@
|
||||||
---
|
---
|
||||||
nfs_server_daemon: nfs
|
nfs_server_daemon: nfs-server
|
||||||
|
|
Loading…
Reference in a new issue