update filebeat repository and documentation
This commit is contained in:
parent
53dff8c539
commit
9ad999cafd
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: geerlingguy
|
author: Jose Luis Ruiz
|
||||||
description: Elasticsearch for Linux.
|
description: Elasticsearch Logstash and Kibana for Linux.
|
||||||
company: "Midwestern Mac, LLC"
|
company: "Wazuh"
|
||||||
license: "license (BSD, MIT)"
|
license: "license (BSD, MIT)"
|
||||||
min_ansible_version: 1.8
|
min_ansible_version: 1.8
|
||||||
platforms:
|
platforms:
|
||||||
|
|||||||
@ -33,7 +33,7 @@
|
|||||||
yum: pkg={{ item }}
|
yum: pkg={{ item }}
|
||||||
state=present
|
state=present
|
||||||
with_items:
|
with_items:
|
||||||
- logstash-5.2.2
|
- logstash-5.1.2
|
||||||
- elasticsearch-5.2.2
|
- elasticsearch-5.2.2
|
||||||
- kibana-5.2.2
|
- kibana-5.2.2
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
input {
|
input {
|
||||||
beats {
|
beats {
|
||||||
port => 5000
|
port => 5000
|
||||||
codec => "json"
|
codec => "json_lines"
|
||||||
# ssl => true
|
# ssl => true
|
||||||
# ssl_certificate => "/etc/logstash/logstash.crt"
|
# ssl_certificate => "/etc/logstash/logstash.crt"
|
||||||
# ssl_key => "/etc/logstash/logstash.key"
|
# ssl_key => "/etc/logstash/logstash.key"
|
||||||
|
|||||||
@ -16,7 +16,7 @@ filebeat_output_elasticsearch_hosts:
|
|||||||
|
|
||||||
filebeat_output_logstash_enabled: true
|
filebeat_output_logstash_enabled: true
|
||||||
filebeat_output_logstash_hosts:
|
filebeat_output_logstash_hosts:
|
||||||
- "192.168.33.172:5000"
|
- "192.168.212.153:5000"
|
||||||
|
|
||||||
filebeat_enable_logging: true
|
filebeat_enable_logging: true
|
||||||
filebeat_log_level: debug
|
filebeat_log_level: debug
|
||||||
|
|||||||
@ -4,11 +4,11 @@
|
|||||||
|
|
||||||
- name: Add Elasticsearch apt key.
|
- name: Add Elasticsearch apt key.
|
||||||
apt_key:
|
apt_key:
|
||||||
url: https://packages.elastic.co/GPG-KEY-elasticsearch
|
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Add Filebeat repository.
|
- name: Add Filebeat repository.
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: 'deb https://packages.elastic.co/beats/apt stable main'
|
repo: 'deb https://artifacts.elastic.co/packages/5.x/apt stable main'
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|||||||
@ -1,11 +1,13 @@
|
|||||||
---
|
---
|
||||||
- name: Add Elasticsearch GPG key.
|
- name: Add Elasticsearch GPG key.
|
||||||
rpm_key:
|
rpm_key:
|
||||||
key: https://packages.elastic.co/GPG-KEY-elasticsearch
|
key: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Add Filebeat repository.
|
- name: RedHat | Install Filebeats repo
|
||||||
template:
|
yum_repository:
|
||||||
src: beats.repo.j2
|
name: elk_repo
|
||||||
dest: /etc/yum.repos.d/beats.repo
|
description: Elastic repository for 5.x packages
|
||||||
mode: 0644
|
baseurl: https://artifacts.elastic.co/packages/5.x/yum
|
||||||
|
gpgkey: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||||
|
gpgcheck: yes
|
||||||
|
|||||||
@ -1,6 +0,0 @@
|
|||||||
[beats]
|
|
||||||
name=Elastic Beats Repository
|
|
||||||
baseurl=https://packages.elastic.co/beats/yum/el/$basearch
|
|
||||||
enabled=1
|
|
||||||
gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch
|
|
||||||
gpgcheck=1
|
|
||||||
@ -1,17 +1,14 @@
|
|||||||
---
|
---
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Werner Dijkerman
|
author: Jose Luis Ruiz
|
||||||
description: Installing and maintaining the ossec-server.
|
description: Installing and maintaining the wazuh-manager.
|
||||||
company: myCompany.Dotcom
|
company: wazuh.com
|
||||||
license: license (GPLv3)
|
license: license (GPLv3)
|
||||||
min_ansible_version: 1.4
|
min_ansible_version: 1.4
|
||||||
platforms:
|
platforms:
|
||||||
- name: EL
|
- name: EL
|
||||||
versions:
|
versions:
|
||||||
- all
|
- all
|
||||||
- name: Fedora
|
|
||||||
versions:
|
|
||||||
- all
|
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
- all
|
- all
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user