Skip to content

Releases: splunk/ansible-role-for-splunk

v1.2.5: Merge pull request #38 from splunk/updates_022521

26 Feb 00:46
e221610
Compare
Choose a tag to compare

Miscellaneous

  • Updated adhoc_configure_hostname.yml to use ini_file instead of lineinfile and 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

24 Feb 22:51
2ddf981
Compare
Choose a tag to compare

Bugfix

  • Fixed the regex for version parsing of splunk package in the request url

Thank you @schneewe for your contribution!

v1.2.3

24 Feb 16:03
b27db3b
Compare
Choose a tag to compare

Bugfixes

  • Resolves #33
  • Resolves a fatal error caused by a stale changed_when artifact in check_splunk.yml that remained after converting checking of splunk status to its own task

v1.2.2: Merge pull request #32 from splunk/update_meta

24 Feb 01:58
f123d27
Compare
Choose a tag to compare

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_action with delegate_to in slack_messenger.yml

v1.2.1: Merge pull request #31 from splunk/fix_linting_errors

24 Feb 01:06
a20fbf5
Compare
Choose a tag to compare

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

23 Feb 22:40
c3efc0d
Compare
Choose a tag to compare

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 as splunk_admin_password has been changed from the default value of undefined

Miscellaneous

  • Removed redundant code via include_tasks and block

v1.1.1: Merge pull request #22 from splunk/add_shc

23 Feb 04:53
266d630
Compare
Choose a tag to compare

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

22 Feb 22:51
7b1be38
Compare
Choose a tag to compare

Enhancements

  • Added logic to check if the host's splunk boot-start configuration matches what Ansible is expected from the value of splunk_use_initd and fail the play if it does not in main.yml
  • Added support in configure_splunk_boot.yml to 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.yml as 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.yml will 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 of splunk_use_initd
  • Updated upgrade process to fail the play if Ansible is unable to stop splunk
  • Updated configure_apps.yml to 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_service variable 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-license when init.d is used so that splunk can start correctly after an upgrade
  • Added new configure_systemd.yml task 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.yml and performed extensive testing to ensure that the desired outcome is successful in all scenarios
  • Updated handler for reload systemctl daemon to use the native Ansible module and moved it up in handlers/main.yml so that it executes in the correct order during new splunk installations

Miscellaneous

  • Added in-line documentation for splunk_use_initd variable 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

17 Feb 23:09
a0ed5c6
Compare
Choose a tag to compare

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

12 Feb 00:30
e92de87
Compare
Choose a tag to compare
  • Resolves #15
  • Updates conditional syntax for install_apps.yml to best practice
  • Removes an erroneous run_once: true which would prevent the task from working correcting when performing an app deployment to multiple SHC Deployer hosts in the same play.