wazuh-ansible-4.8.1/ansible-role-filebeat/tasks/Debian.yml

15 lines
390 B
YAML

---
- name: Ensure depdency is installed (Ubuntu).
apt: name=apt-transport-https state=present
- name: Add Elasticsearch apt key.
apt_key:
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
state: present
- name: Add Filebeat repository.
apt_repository:
repo: 'deb https://artifacts.elastic.co/packages/5.x/apt stable main'
state: present
update_cache: yes