andrewmackett.splunk_common

splunk-common

构建状态

这是 Splunk Enterprise 的安装和基本配置。

可以通过增加 splunk_version 变量及其相应的 splunk_build 变量来安装 Splunk Enterprise 版本更新。

可以通过额外变量配置与 Microsoft Active Directory 的 LDAP 身份验证。

要求

pyOpenSSL - 用于生成自签名的 x509 证书。

角色变量

变量 默认值
splunk_version 7.1.3
splunk_build 51d9cac7b837
splunk_common_enable_ssl True
splunk_common_http_port 8443
splunk_common_admin_user admin
splunk_common_admin_passwd 这个应该很长且复杂
splunk_common_admin_salt c0be578b4b8d82fa
splunk_secret SDWQAIOvoISFDrb2...
enable_ldap False
auth_settings_name ActiveDirectory
user_base_dn
group_base_dn
bind_dn
bind_dn_password
ldap_host
ldap_port 389
splunk_admin_ad_group
splunk_power_ad_group
splunk_user_ad_group

请记得为 splunk_common_admin_passwdsplunk_common_admin_saltsplunk_secret 设置您自己的值,理想情况下使用 ansible-vault 进行加密。

依赖

无。

示例剧本

示例剧本:

- hosts: servers
  roles:
     - { role: andrewmackett.splunk_common, splunk_version: 7.1.3, splunk_build: 51d9cac7b837 }

还有一个可以用来启动本地测试服务器的 Vagrantfile。

许可证

MIT

作者信息

https://github.com/andrewmackett

关于项目

Installation and basic configuration of Splunk Enterprise

安装
ansible-galaxy install andrewmackett.splunk_common
许可证
mit
下载
2.5k
拥有者