Debian dependencies update

This commit is contained in:
Gonzalo Acuña 2022-10-19 11:38:39 -03:00
parent 080773369c
commit 795953e166
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270

View File

@ -1,15 +1,23 @@
---
- name: Debian/Ubuntu | Install apt-transport-https, ca-certificates, gnupg and acl
- name: Debian/Ubuntu | Install ca-certificates and gnupg
apt:
name:
- apt-transport-https
- ca-certificates
- acl
- gnupg
state: present
register: wazuh_agent_ca_package_install
until: wazuh_agent_ca_package_install is succeeded
- name: Debian/Ubuntu | Install apt-transport-https and acl
apt:
name:
- apt-transport-https
- acl
state: present
register: wazuh_agent_ca_package_install
until: wazuh_agent_ca_package_install is succeeded
when: not (ansible_distribution == "Debian" and ansible_distribution_major_version in ['11'])
- name: Debian/Ubuntu | Installing Wazuh repository key (Ubuntu 14)
become: true
shell: |