ansible-fprobe/tasks/main.yml

20 lines
642 B
YAML
Raw Normal View History

2016-10-30 20:40:48 +01:00
---
#- 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"
2018-12-21 08:00:53 +01:00
when: ansible_os_family == "RedHat"
2016-10-30 20:40:48 +01:00
#- include: debian.yml
# when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
#- include: redhat.yml
2018-12-21 08:00:53 +01:00
# when: ansible_os_family == "RedHat"
2016-10-30 20:40:48 +01:00
- include: fprobe.yml