ansible-roles/evolinux-users/tasks/sudo.yml
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00

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