Tasks OS fixes
This commit is contained in:
parent
82f13e2194
commit
5859da2f2c
@ -5,13 +5,10 @@
|
||||
- apt-transport-https
|
||||
- ca-certificates
|
||||
|
||||
- name: Debian/Ubuntu | Installing repository key
|
||||
apt_key: url=https://packages.wazuh.com/key/GPG-KEY-WAZUH
|
||||
- name: Debian/Ubuntu | Installing repository keyyyy
|
||||
shell: curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add -
|
||||
|
||||
- name: Debian/Ubuntu | Installing Wazuh repository key
|
||||
apt_key: url=https://packages.wazuh.com/key/GPG-KEY-WAZUH
|
||||
|
||||
- name: Debian/Ubuntu | Add Wazuh repositories.
|
||||
- name: Debian/Ubuntu | Add Wazuh repositories
|
||||
apt_repository:
|
||||
repo: deb https://packages.wazuh.com/apt {{ ansible_distribution_release }} main
|
||||
state: present
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: CentOS | Install Wazuh repo
|
||||
- name: CentOS | Install Wazuh repository
|
||||
yum_repository:
|
||||
name: wazuh_repo
|
||||
description: CentOS-$releasever - Wazuh
|
||||
@ -8,7 +8,7 @@
|
||||
gpgcheck: yes
|
||||
when: ansible_distribution == 'CentOS'
|
||||
|
||||
- name: Fedora | Install Wazuh repo
|
||||
- name: Fedora | Install Wazuh repository
|
||||
yum_repository:
|
||||
name: wazuh_repo
|
||||
description: Fedora-$releasever - Wazuh
|
||||
@ -17,7 +17,7 @@
|
||||
gpgcheck: yes
|
||||
when: ansible_distribution == 'Fedora'
|
||||
|
||||
- name: RedHat | Install Wazuh repo
|
||||
- name: RedHat | Install Wazuh repository
|
||||
yum_repository:
|
||||
name: wazuh_repo
|
||||
description: CentOS-$releasever - Wazuh
|
||||
|
||||
Loading…
Reference in New Issue
Block a user