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
|
@ -19,7 +19,7 @@
|
|||
|
||||
- name: install nss_db on rhel hosts only
|
||||
yum: state=present name=nss_db
|
||||
when: is_rhel is defined and ansible_distribution_major_version == '6'
|
||||
when: is_rhel is defined and ansible_distribution_major_version|int == 6
|
||||
tags:
|
||||
- packages
|
||||
- fas_client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue