Releases: splunk/ansible-role-for-splunk
Releases · splunk/ansible-role-for-splunk
v1.2.5: Merge pull request #38 from splunk/updates_022521
Miscellaneous
- Updated adhoc_configure_hostname.yml to use
ini_fileinstead oflineinfileand simplified it - Updated README.md
- Added author email to role meta
- Added missing company name to LICENSE file
v1.2.4: Merge pull request #36 from schneewe/variable_fix
Bugfix
- Fixed the regex for version parsing of splunk package in the request url
Thank you @schneewe for your contribution!
v1.2.3
v1.2.2: Merge pull request #32 from splunk/update_meta
Miscellaneous
- Updated role meta with supported platforms, additional tag, a better description, and fixed the license string
- Added Apache 2.0 license file
Bugfix
- Replaced
local_actionwithdelegate_toinslack_messenger.yml
v1.2.1: Merge pull request #31 from splunk/fix_linting_errors
Bugfixes
- Fixed the warnings found by ansible-lint related to spacing issues, truthiness values, use of the shell module, use of local_action, and a few other things (resolve 95% of #25)
- Fixed a bug in the new check_splunk_status.yml task that was causing plays to fail at this task when splunk was in a stopped state
- Corrected file permissions for the systemd file installed by the configure_thp.yml task
v1.2.0: Merge pull request #30 from splunk/updates_022321
Bugfixes
Enhancements
- Implements #24
- Implements #26
- Added 3 automatic retries with 1-minute retry delay for both shc and indexer cluster bundle pushes (configurable via vars)
- Adds very basic support for removing a Splunk installation (will be enhanced further in a future release)
- Removed redundant variable for
configure_user_seed- the role will now automatically run this task during new installations as long assplunk_admin_passwordhas been changed from the default value ofundefined
Miscellaneous
- Removed redundant code via
include_tasksandblock
v1.1.1: Merge pull request #22 from splunk/add_shc
Enhancements
- Added basic support for deploying a new search head cluster for #17
Bugfixes
- Fixed
error 'dict object' has no attribute 'stat'related to systemd_boot.stat.exists conditionals caused by variable re-usage in a skipped task (because register is still evaluated even if the task is skipped)
v1.1.0: Merge pull request #21 from splunk/updates_02182021
Enhancements
- Added logic to check if the host's splunk boot-start configuration matches what Ansible is expected from the value of
splunk_use_initdand fail the play if it does not inmain.yml - Added support in
configure_splunk_boot.ymlto be able to change existing Splunk installations from init.d to systemd, or vice-versa - Added automatic enablement of splunk boot-start to
configure_splunk_boot.ymlas this role now relies entirely on service module for handlers - When using systemd (
splunk_use_initd: false), splunk will automatically be restarted if it is killed or crashes - Updated WGET URLs to the latest Splunk and UF versions
- Updates to
configure_splunk_boot.ymlwill now automatically configure the desired boot-start method for Splunk if it is either unconfigured or not using the method that Ansible expects from the value ofsplunk_use_initd - Updated upgrade process to fail the play if Ansible is unable to stop splunk
- Updated
configure_apps.ymlto fail the play if Ansible is unable to clone one of the configured git repositories that need to be deployed - All splunk stop/start/restart tasks and handlers now rely on the service module and the
splunk_servicevariable that gets set in main.yml
Bugfixes
- Resolved #20
- All known compatibility issues related to init.d and systemd have been resolved
- Added a new handler to append the init.d file for the splunk start command with
--accept-licensewhen init.d is used so that splunk can start correctly after an upgrade - Added new
configure_systemd.ymltask to vastly improve the default systemd file for Splunk and ensure that Splunk starts successfully after an upgrade when systemd is used - Performed a total re-write of
configure_splunk_boot.ymland performed extensive testing to ensure that the desired outcome is successful in all scenarios - Updated handler for
reload systemctl daemonto use the native Ansible module and moved it up inhandlers/main.ymlso that it executes in the correct order during new splunk installations
Miscellaneous
- Added in-line documentation for
splunk_use_initdvariable in role default vars - Updated documentation and example inventories
- Removed an unused/redundant handler:
restart splunk service - Cleaned up a line in role default vars
v1.0.6
Contributors
Thank you @arengifoc for your contributions!
Bugfixes
- Task added to check if auditd.conf exists before attempting to make changes on it
- Task added to add effective ACLs on /var/log/*
- Handler for restarting auditd modified to use
service auditd condrestart
v1.0.5: Merge pull request #16 from splunk/fix_splunk_use_initd
- Resolves #15
- Updates conditional syntax for install_apps.yml to best practice
- Removes an erroneous
run_once: truewhich would prevent the task from working correcting when performing an app deployment to multiple SHC Deployer hosts in the same play.