forked from evolix/ansible-roles
Jérémy Dubois
6c202dcf4f
This variable does not exist when run on OpenBSD servers, making the ansible playbook to exit in a fatal state.
10 lines
249 B
YAML
10 lines
249 B
YAML
---
|
|
|
|
- include: sudo_jessie.yml
|
|
when: ansible_distribution_release == "jessie"
|
|
|
|
- include: sudo_stretch.yml
|
|
when: ansible_distribution_major_version is defined and ansible_distribution_major_version is version('9', '>=')
|
|
|
|
- meta: flush_handlers
|