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
12 lines
257 B
YAML
12 lines
257 B
YAML
---
|
|
|
|
- include: sudo_jessie.yml
|
|
when: ansible_distribution_release == "jessie"
|
|
|
|
- include: sudo_stretch.yml
|
|
when:
|
|
- ansible_distribution_major_version is defined
|
|
- ansible_distribution_major_version is version('9', '>=')
|
|
|
|
- meta: flush_handlers
|