Conditions for CentOS 8
This commit is contained in:
parent
31d3cd64d1
commit
60b891084e
@ -35,7 +35,8 @@
|
|||||||
until: wazuh_manager_openscp_packages_installed is succeeded
|
until: wazuh_manager_openscp_packages_installed is succeeded
|
||||||
tags:
|
tags:
|
||||||
- init
|
- init
|
||||||
when: not (ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA")
|
when: not (ansible_distribution == "Amazon" and ansible_distribution_major_version == "NA") and
|
||||||
|
not (ansible_distribution == "CentOS" and ansible_distribution_major_version == "8")
|
||||||
|
|
||||||
- name: CentOS 6 | Install Software Collections (SCL) Repository
|
- name: CentOS 6 | Install Software Collections (SCL) Repository
|
||||||
package: name=centos-release-scl state=present
|
package: name=centos-release-scl state=present
|
||||||
|
|||||||
@ -36,7 +36,8 @@
|
|||||||
name: expect
|
name: expect
|
||||||
state: "{{ wazuh_manager_package_state }}"
|
state: "{{ wazuh_manager_package_state }}"
|
||||||
when:
|
when:
|
||||||
- not (ansible_os_family|lower == "redhat" and ansible_distribution_major_version|int < 6)
|
- not (ansible_os_family|lower == "redhat" and ansible_distribution_major_version|int < 6) and
|
||||||
|
not (ansible_distribution|lower == "centos" and ansible_distribution_major_version|int == 8)
|
||||||
tags: init
|
tags: init
|
||||||
|
|
||||||
- name: Generate SSL files for authd
|
- name: Generate SSL files for authd
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user