Merge pull request #1623 from wazuh/enhancement/1622-add-gpp-package
Add gnupg dependency to indexer, filebeat-oss, and dashboard roles
This commit is contained in:
commit
aeafdd080b
@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Update the Filebeat installation for arm64 to include revision ([#1616](https://github.com/wazuh/wazuh-ansible/pull/1616))
|
- Update the Filebeat installation for arm64 to include revision ([#1616](https://github.com/wazuh/wazuh-ansible/pull/1616))
|
||||||
|
- Add gnupg dependency to indexer, filebeat-oss, and dashboard roles ([#1623](https://github.com/wazuh/wazuh-ansible/pull/1623))
|
||||||
|
|
||||||
### Deleted
|
### Deleted
|
||||||
|
|
||||||
|
|||||||
@ -1,10 +1,11 @@
|
|||||||
---
|
---
|
||||||
- name: Debian/Ubuntu | Install apt-transport-https, ca-certificates and acl
|
- name: Debian/Ubuntu | Install apt-transport-https, ca-certificate, acl and gnupg
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
- acl
|
- acl
|
||||||
|
- gnupg
|
||||||
state: present
|
state: present
|
||||||
register: filebeat_ca_packages_install
|
register: filebeat_ca_packages_install
|
||||||
until: filebeat_ca_packages_install is succeeded
|
until: filebeat_ca_packages_install is succeeded
|
||||||
|
|||||||
@ -7,6 +7,12 @@
|
|||||||
url: "{{ wazuh_repo.gpg }}"
|
url: "{{ wazuh_repo.gpg }}"
|
||||||
dest: "{{ wazuh_repo.path }}"
|
dest: "{{ wazuh_repo.path }}"
|
||||||
|
|
||||||
|
- name: Debian/Ubuntu | Install gnupg
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- gnupg
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Import Wazuh repository GPG key
|
- name: Import Wazuh repository GPG key
|
||||||
command: "gpg --no-default-keyring --keyring gnupg-ring:{{ wazuh_repo.keyring_path }} --import {{ wazuh_repo.path }}"
|
command: "gpg --no-default-keyring --keyring gnupg-ring:{{ wazuh_repo.keyring_path }} --import {{ wazuh_repo.path }}"
|
||||||
args:
|
args:
|
||||||
|
|||||||
@ -5,15 +5,15 @@
|
|||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: Debian 9 (Stretch)
|
|
||||||
when: (ansible_facts['distribution'] == "Debian" and ansible_facts['distribution_major_version'] == "9")
|
|
||||||
block:
|
|
||||||
|
|
||||||
- name: Install Wazuh indexer dependencies
|
- name: Install Wazuh indexer dependencies
|
||||||
apt:
|
apt:
|
||||||
name: [
|
name:
|
||||||
'unzip', 'wget', 'curl', 'apt-transport-https', software-properties-common
|
- unzip
|
||||||
]
|
- wget
|
||||||
|
- curl
|
||||||
|
- apt-transport-https
|
||||||
|
- software-properties-common
|
||||||
|
- gnupg
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Add Wazuh indexer repository
|
- name: Add Wazuh indexer repository
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user