wazuh-ansible-4.8.1/ansible-wazuh-agent/tasks/Debian.yml
2017-07-12 03:43:20 +02:00

20 lines
649 B
YAML

---
- name: Debian/Ubuntu | Install apt-transport-https and ca-certificates
apt: name="{{ item }}" state=present update_cache=yes
with_items:
- apt-transport-https
- name: Debian/Ubuntu | Installing repository key
shell: curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add -
- name: Debian/Ubuntu | Add Wazuh repositories
apt_repository:
repo: deb https://packages.wazuh.com/apt {{ ansible_distribution_release }} main
state: present
update_cache: yes
- name: Set Distribution CIS filename for debian
set_fact:
cis_distribution_filename: cis_debian_linux_rcl.txt
when: ansible_os_family == "Debian"