fix version

This commit is contained in:
ace 2023-08-11 12:55:03 +03:00
parent 7e436a4800
commit 627e009ee7
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -29,7 +29,7 @@
notify: Restart HAProxy
when:
- haproxy_package_name in ansible_facts.packages
- (ansible_facts.packages[haproxy_package_name][0]['version'] + ".el{{ ansible_distribution_major_version }}") != (haproxy_version|string + "-" + haproxy_version_build|string)
- (ansible_facts.packages[haproxy_package_name][0]['version'] + ".el" + ansible_distribution_major_version) != (haproxy_version|string + "-" + haproxy_version_build|string)
- name: Install python2-cryptography
package: