wazuh-ansible-4.8.1/ansible-role-kibana/tasks/RedHat.yml
2017-04-04 11:01:24 -04:00

24 lines
597 B
YAML

---
- name: Add Elasticsearch GPG key.
rpm_key:
key: https://artifacts.elastic.co/GPG-KEY-elasticsearch
state: present
- name: RedHat | Install Kibana repo
yum_repository:
name: elk_repo
description: Elastic repository for 5.x packages
baseurl: https://artifacts.elastic.co/packages/5.x/yum
gpgkey: https://artifacts.elastic.co/GPG-KEY-elasticsearch
gpgcheck: yes
- name: RedHat | Install Kibana
yum: pkg=kibana-5.3.0
state=present
tags:
- init
- name: Remove the correct repository
include: "RMRedHat.yml"
when: ansible_os_family == "RedHat"