Fix RedHat/CentOS 5 wazuh-agent setup
Before these 2 small changes, the agent can't be successfully installed on a RedHat/CentOS 5
This commit is contained in:
parent
07def74462
commit
26aa5adbbc
@ -14,10 +14,10 @@
|
|||||||
name: wazuh_repo
|
name: wazuh_repo
|
||||||
description: Wazuh repository
|
description: Wazuh repository
|
||||||
baseurl: https://packages.wazuh.com/3.x/yum/5/
|
baseurl: https://packages.wazuh.com/3.x/yum/5/
|
||||||
gpgkey: https://packages.wazuh.com/key/GPG-KEY-WAZUH
|
gpgkey: https://packages.wazuh.com/key/RPM-GPG-KEY-OSSEC-RHEL5
|
||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
when:
|
when:
|
||||||
- ansible_distribution_major_version|int < 5
|
- ansible_distribution_major_version|int <= 5
|
||||||
|
|
||||||
- name: RedHat/CentOS/Fedora | download Oracle Java RPM
|
- name: RedHat/CentOS/Fedora | download Oracle Java RPM
|
||||||
get_url:
|
get_url:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user