Fixes #9 and #13: Fix nfs_server_daemon for RHEL 7.

This commit is contained in:
Jeff Geerling 2016-02-02 11:11:07 -06:00
parent e10f531aa2
commit 6aebafc392

View file

@ -2,10 +2,9 @@
# 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
- name: Include overrides specific to RHEL 7.
include_vars: RedHat-7.yml
when: ansible_os_family == 'RedHat' and ansible_distribution_major_version == "7"
# Setup/install tasks.