Skip to content

Commit 2dd5e7a

Browse files
author
Mason Morales
authored
Merge pull request #5 from lindeskar/patch-1
correcting filenames
2 parents 40855e8 + 153561d commit 2dd5e7a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Note: Any task with an **adhoc** prefix means that it is intended to be used adh
148148
- **splunk_restart.yml** - Restarts splunk via CLI command. Used when waiting for a handler to run at the end of the play would be inappapropriate.
149149
- **splunk_start.yml** - Starts splunk via CLI command. This task will also accept the license and answers yes for any prompts. Used when waiting for a handler to run at the end of the play would be inappapropriate.
150150
- **splunk_stop.yml** - Stops splunk via CLI command. Used when waiting for a handler to run at the end of the play would be inappapropriate.
151-
- **upgrade_splunk.yml** - Called by check_splunk.yml. Performs an upgrade of an existing splunk installation. Configures .bash_profile and .bashrc for splunk user (by calling configure_bash.yml), disables THP and increases ulimits (by calling configure_os.yml), disables boot-start (this addresses a bug in 7.2.x -- it gets re-enabled by a hander at the end), kills any stale splunkd processes present (by calling kill_splunkd.yml). Note: You should NOT run the upgrade_splunk.yml task directly from a playbook. check_splunk.yml will call upgrade_splunk.yml if it determines that an upgrade is needed; It will then download and unarchive the new version of Splunk (by calling download_and_unarchive.yml), ensure that mongod is in a good stopped state (by calling fix_mongo.yml), and will then perform post-installation tasks using the post_install.yml task.
151+
- **upgrade_splunk.yml** - Called by check_splunk.yml. Performs an upgrade of an existing splunk installation. Configures .bash_profile and .bashrc for splunk user (by calling configure_bash.yml), disables THP and increases ulimits (by calling configure_os.yml), disables boot-start (this addresses a bug in 7.2.x -- it gets re-enabled by a hander at the end), kills any stale splunkd processes present (by calling adhoc_kill_splunkd.yml). Note: You should NOT run the upgrade_splunk.yml task directly from a playbook. check_splunk.yml will call upgrade_splunk.yml if it determines that an upgrade is needed; It will then download and unarchive the new version of Splunk (by calling download_and_unarchive.yml), ensure that mongod is in a good stopped state (by calling adhoc_fix_mongo.yml), and will then perform post-installation tasks using the post_install.yml task.
152152

153153
## Frequently Asked Questions
154154
**Q:** What is the difference between this and splunk-ansible?

roles/splunk/tasks/upgrade_splunk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
ignore_errors: true
1414

1515
- name: Include task to kill any stale splunkd processes
16-
include_tasks: kill_splunkd.yml
16+
include_tasks: adhoc_kill_splunkd.yml
1717

1818
- name: Include download and unarchive task
1919
include_tasks: download_and_unarchive.yml
2020

2121
- name: Include mongod tasks to ensure it's in a good state
22-
include_tasks: fix_mongo.yml
22+
include_tasks: adhoc_fix_mongo.yml
2323
when: "'full' in group_names"
2424

2525
- name: Include post-install tasks

0 commit comments

Comments
 (0)