21 lines
823 B
YAML
21 lines
823 B
YAML
|
---
|
||
|
|
||
|
#- fail: msg="This role is only compatible with Ubuntu"
|
||
|
# when: ansible_distribution != 'Ubuntu'
|
||
|
|
||
|
- name: Include version-specific variables for Ubuntu.
|
||
|
include_vars: "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
||
|
when: ansible_distribution == 'Ubuntu'
|
||
|
- name: Include version-specific variables for RedHat
|
||
|
include_vars: "RedHat-{{ ansible_distribution_version.split('.')[0] }}.yml"
|
||
|
when: ansible_os_family == "RedHat" or ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
||
|
|
||
|
#- include: debian.yml
|
||
|
# when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
||
|
|
||
|
#- include: redhat.yml
|
||
|
# when: ansible_os_family == "RedHat" or ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
||
|
|
||
|
- include: fprobe.yml
|
||
|
|