andrewmackett.splunk_common
splunk-common
=========
This guide explains how to install and set up Splunk Enterprise.
To update the version of Splunk Enterprise, simply change the splunk_version
and its matching splunk_build
variable.
You can also set up LDAP authentication using Microsoft Active Directory with some extra variables.
Requirements
You need to install pyOpenSSL to create a self-signed x509 certificate.
Role Variables
Here's a table of key variables you can modify:
Variable | Default |
---|---|
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 |
ThisShouldBeLong&Complex |
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 |
Don't forget to change the values for splunk_common_admin_passwd
, splunk_common_admin_salt
, and splunk_secret
, and consider encrypting them with ansible-vault.
Dependencies
None.
Example Playbook
Here's a sample playbook:
- hosts: servers
roles:
- { role: andrewmackett.splunk_common, splunk_version: 7.1.3, splunk_build: 51d9cac7b837 }
You can also use the included Vagrantfile to create a local test server.
License
MIT
Author Information
Find more at: https://github.com/andrewmackett
Informazioni sul progetto
Installation and basic configuration of Splunk Enterprise
Installa
ansible-galaxy install andrewmackett.splunk_common
Licenza
mit
Download
2.5k
Proprietario