Merge pull request #290 from wazuh/bugfix-289-require-openssl

Require openssl on Amazon Linux
This commit is contained in:
Manuel J. Bernal 2019-10-30 17:31:48 +01:00 committed by GitHub
commit abfe62835f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -66,7 +66,6 @@
package: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- openscap-scanner - openscap-scanner
- openssl
register: wazuh_manager_openscp_packages_installed register: wazuh_manager_openscp_packages_installed
until: wazuh_manager_openscp_packages_installed is succeeded until: wazuh_manager_openscp_packages_installed is succeeded
tags: tags:

View File

@ -1,4 +1,12 @@
--- ---
- name: "Install dependencies"
package:
name:
- unzip
- openssl
- tar
state: present
- import_tasks: "RedHat.yml" - import_tasks: "RedHat.yml"
when: (ansible_os_family == "RedHat" and ansible_distribution_major_version|int > 5) or (ansible_os_family == "RedHat" and ansible_distribution == "Amazon") when: (ansible_os_family == "RedHat" and ansible_distribution_major_version|int > 5) or (ansible_os_family == "RedHat" and ansible_distribution == "Amazon")