forked from evolix/ansible-roles
Jérémy Lecour
2ed77c60f0
replace « x | changed » by « x is changed » add explicit « bool » filter use « length » filter instead of string comparison
15 lines
388 B
YAML
15 lines
388 B
YAML
---
|
|
|
|
- fail:
|
|
msg: only compatible with Debian >= 8
|
|
when: ansible_distribution != "Debian" or ansible_distribution_major_version is version('8', '<')
|
|
|
|
- include: main_jessie.yml
|
|
when: ansible_distribution_release == "jessie"
|
|
|
|
- include: main_stretch.yml
|
|
when: ansible_distribution_release == "stretch"
|
|
|
|
- include: main_buster.yml
|
|
when: ansible_distribution_release == "buster"
|