mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
15
roles/repo_filebeat/tasks/install_Debian.yml
Normal file
15
roles/repo_filebeat/tasks/install_Debian.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: Add Filebeat repo key
|
||||
apt_key:
|
||||
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
environment:
|
||||
https_proxy: "{{ system_proxy | default('') }}"
|
||||
tags: repo,logs
|
||||
|
||||
- name: Add Filebeat repository
|
||||
apt_repository:
|
||||
repo: deb https://artifacts.elastic.co/packages/{{ filebeat_major_version }}.x/apt stable main
|
||||
filename: filebeat
|
||||
environment:
|
||||
https_proxy: "{{ system_proxy | default('') }}"
|
||||
tags: repo,logs
|
11
roles/repo_filebeat/tasks/install_RedHat.yml
Normal file
11
roles/repo_filebeat/tasks/install_RedHat.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Add Filebeat repository
|
||||
yum_repository:
|
||||
name: filebeat
|
||||
description: Filebeat
|
||||
baseurl: https://artifacts.elastic.co/packages/oss-{{ filebeat_major_version }}.x/yum
|
||||
gpgcheck: True
|
||||
repo_gpgcheck: True
|
||||
gpgkey: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
includepkgs: filebeat* journalbeat*
|
||||
tags: repo,logs
|
3
roles/repo_filebeat/tasks/main.yml
Normal file
3
roles/repo_filebeat/tasks/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
|
||||
- include: install_{{ ansible_os_family }}.yml
|
Reference in New Issue
Block a user