diff --git a/roles/wazuh/ansible-filebeat-oss/tasks/Debian.yml b/roles/wazuh/ansible-filebeat-oss/tasks/Debian.yml index 33c94cf6..718d584b 100644 --- a/roles/wazuh/ansible-filebeat-oss/tasks/Debian.yml +++ b/roles/wazuh/ansible-filebeat-oss/tasks/Debian.yml @@ -1,9 +1,10 @@ --- -- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates +- name: Debian/Ubuntu | Install apt-transport-https, ca-certificates and acl apt: name: - apt-transport-https - ca-certificates + - acl state: present register: filebeat_ca_packages_install until: filebeat_ca_packages_install is succeeded diff --git a/roles/wazuh/ansible-filebeat/tasks/Debian.yml b/roles/wazuh/ansible-filebeat/tasks/Debian.yml index a87bb2bf..36b66ac5 100644 --- a/roles/wazuh/ansible-filebeat/tasks/Debian.yml +++ b/roles/wazuh/ansible-filebeat/tasks/Debian.yml @@ -1,9 +1,10 @@ --- -- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates +- name: Debian/Ubuntu | Install apt-transport-https, ca-certificates and acl apt: name: - apt-transport-https - ca-certificates + - acl state: present register: filebeat_ca_packages_install until: filebeat_ca_packages_install is succeeded diff --git a/roles/wazuh/ansible-wazuh-agent/tasks/Debian.yml b/roles/wazuh/ansible-wazuh-agent/tasks/Debian.yml index 9c12fdbf..9d218fcb 100644 --- a/roles/wazuh/ansible-wazuh-agent/tasks/Debian.yml +++ b/roles/wazuh/ansible-wazuh-agent/tasks/Debian.yml @@ -1,9 +1,10 @@ --- -- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates +- name: Debian/Ubuntu | Install apt-transport-https, ca-certificates and acl apt: name: - apt-transport-https - ca-certificates + - acl state: present register: wazuh_agent_ca_package_install until: wazuh_agent_ca_package_install is succeeded diff --git a/roles/wazuh/ansible-wazuh-manager/tasks/Debian.yml b/roles/wazuh/ansible-wazuh-manager/tasks/Debian.yml index db734fe1..717add8c 100644 --- a/roles/wazuh/ansible-wazuh-manager/tasks/Debian.yml +++ b/roles/wazuh/ansible-wazuh-manager/tasks/Debian.yml @@ -1,10 +1,11 @@ --- -- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates +- name: Debian/Ubuntu | Install apt-transport-https, ca-certificates and acl apt: name: - apt-transport-https - ca-certificates - gnupg + - acl state: present cache_valid_time: 3600 install_recommends: false