Require unzip

This commit is contained in:
Manuel Gutierrez 2019-10-30 15:06:00 +01:00
parent d175426982
commit d184ec76fe

View File

@ -1,15 +1,18 @@
--- ---
- 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")
- import_tasks: "Debian.yml" - import_tasks: "Debian.yml"
when: ansible_os_family == "Debian" when: ansible_os_family == "Debian"
- name: Install Openssl
package:
name: openssl
state: present
- name: CentOS/RedHat/Amazon | Install wazuh-manager, wazuh-api - name: CentOS/RedHat/Amazon | Install wazuh-manager, wazuh-api
package: pkg={{ item }}-{{ wazuh_manager_api_version }}-1 state={{ wazuh_manager_package_state }} package: pkg={{ item }}-{{ wazuh_manager_api_version }}-1 state={{ wazuh_manager_package_state }}
with_items: with_items: