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