wazuh-ansible-4.8.1/ansible-role-kibana/tasks/Debian.yml
2017-07-13 16:08:59 -04:00

22 lines
651 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
- ca-certificates
- name: Debian/Ubuntu | Add Elasticsearch GPG key
apt_key:
url: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
state: present
- name: Debian/Ubuntu | Install Elastic repo
apt_repository:
repo: deb https://artifacts.elastic.co/packages/5.x/apt stable main
state: present
filename: 'elk_repo'
- name: Debian/Ubuntu | Install Kibana
apt: name=kibana={{ elastic_stack_version }} state=present update_cache=yes
tags: install