add name for some fail modules

This commit is contained in:
Jérémy Lecour 2017-11-21 10:17:46 +01:00 committed by Jérémy Lecour
parent 8cd754fd55
commit b15b06d458
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,7 @@
---
- fail:
- name: "Compatibility check"
fail:
msg: only compatible with Debian >= 8
when:
- ansible_distribution != "Debian" or ansible_distribution_major_version | version_compare('8', '<')

View file

@ -1,6 +1,7 @@
---
- fail:
- name: "Compatibility check"
fail:
msg: only compatible with Debian >= 8
when:
- ansible_distribution != "Debian" or ansible_distribution_major_version | version_compare('8', '<')