Change all instances of ansible_distribution_major_version to filter to int for comparisons.

This commit is contained in:
Kevin Fenzi 2015-05-27 22:27:39 +00:00
parent 03633c8f0c
commit 275f4b5203
50 changed files with 74 additions and 74 deletions

View file

@ -31,7 +31,7 @@
- name: hotfix - copy over new httpd sysconfig (el6)
copy: src="{{ files }}/hotfix/httpd/httpd.sysconfig" dest=/etc/sysconfig/httpd
when: ansible_distribution_major_version == '6'
when: ansible_distribution_major_version|int == 6
notify:
- restart apache
tags:
@ -41,7 +41,7 @@
- name: hotfix - copy over new httpd sysconfig (el7)
copy: src="{{ files }}/hotfix/httpd/httpd.sysconfig" dest=/etc/sysconfig/httpd
when: ansible_distribution_major_version == '7'
when: ansible_distribution_major_version|int == 7
notify:
- restart apache
tags: