Change all instances of ansible_distribution_major_version to filter to int for comparisons.
This commit is contained in:
parent
03633c8f0c
commit
275f4b5203
50 changed files with 74 additions and 74 deletions
|
@ -13,7 +13,7 @@
|
|||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- { role: denyhosts, when: ansible_distribution_major_version != '7' }
|
||||
- { role: denyhosts, when: ansible_distribution_major_version|int != 7 }
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue