Leif Madsen 4200c39121
Fix when clause in pymysql check on CentOS
The when clause that checks if pymysql should be installed from pip
is incorrectly doing an integer comparison against a string value
from the ansible_distribution_major_version variable.

This change resolves that issue by using the version_compare() cast
like was being done for Ubuntu.

Related to: #1665279

Change-Id: Ia3a4bf789cc8e19d7b1f7854cb3ae71c2b8d47e1
2017-05-23 14:33:50 -04:00
..
2017-02-03 19:37:20 +00:00
2017-04-09 18:43:13 -05:00