mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 15:33:06 +00:00
Another version check
Signed-off-by: Adam Lewandowski <adam.lewandowski@plxis.com>
This commit is contained in:
parent
d687cd8b44
commit
e04235263d
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue