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:
angystardust 2018-03-30 17:34:00 +02:00 committed by GitHub
parent 07def74462
commit 26aa5adbbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,10 +14,10 @@
name: wazuh_repo
description: Wazuh repository
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
when:
- ansible_distribution_major_version|int < 5
- ansible_distribution_major_version|int <= 5
- name: RedHat/CentOS/Fedora | download Oracle Java RPM
get_url: