wazuh-ansible-4.8.1/ansible-role-filebeat/tasks/setup-Debian.yml
2017-03-16 18:09:32 -04:00

15 lines
381 B
YAML

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