Another version check

Signed-off-by: Adam Lewandowski <adam.lewandowski@plxis.com>
This commit is contained in:
Adam Lewandowski 2022-05-09 14:07:47 -04:00
parent d687cd8b44
commit e04235263d

View file

@ -19,7 +19,7 @@
package:
name: git
state: present
when: ansible_distribution_major_version == 8
when: ansible_distribution_major_version is version("8", "==")
- name: Pre Audit | Install git (rh7 python2)
package:
@ -27,7 +27,7 @@
state: present
vars:
ansible_python_interpreter: "{{ python2_bin }}"
when: ansible_distribution_major_version == 7
when: ansible_distribution_major_version is version("7", "==")
- name: Pre Audit | retrieve audit content files from git
git: