mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 23:43: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:
|
package:
|
||||||
name: git
|
name: git
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution_major_version == 8
|
when: ansible_distribution_major_version is version("8", "==")
|
||||||
|
|
||||||
- name: Pre Audit | Install git (rh7 python2)
|
- name: Pre Audit | Install git (rh7 python2)
|
||||||
package:
|
package:
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
state: present
|
state: present
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: "{{ python2_bin }}"
|
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
|
- name: Pre Audit | retrieve audit content files from git
|
||||||
git:
|
git:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue