Skip to content

ghl1024/Use-Ansible-Install-Filebeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

🎶 说明:

  1. 此脚本需要部署在 Ansible 主机上;

  2. 使用 Ansible 远程在客户端中以 rpm 包方式安装 filebeat7.1.0

  3. 客户端须为 CentOS7.xCentOS6.x 发行版;

  4. 根据自己的需求修改 soft/filebeat/filebeat.yml 文件,然后就可以批量部署了;

☀️ 前提:

RemoteIP 为客户端所在 IP

RemoteIP 须和 Ansible 做了互信;

🌍 用法:

git clone https://github.com/ghl1024/Use-Ansible-Install-Filebeat.git
cd ./Use-Ansible-Install-Filebeat/soft/sh/fast && ./fast_filebeat7.1.sh RemoteIP01,RemoteIP02,RemoteIP03

✏️例子:

cd ./Use-Ansible-Install-Filebeat/soft/sh/fast && ./fast_filebeat7.1.sh 172.14.125.36,172.14.125.37,172.14.125.38

About

🚩 使用 Ansible 批量部署 Filebeat7.1.0 🍇

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages