Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add timeout var for reload deploy-server handler #189

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions roles/splunk/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ git_project: undefined
git_version: master # Configure default version to clone, overridable inside the git_apps dictionary within host_vars
app_relative_path: # set a sub-path you want to sync within a repo. If the repo contains multiple apps in the root directory, just set this to a trailing slash.
splunk_app_deploy_path: undefined # Path under $SPLUNK_HOME/ to deploy apps to - Note that this may be set in group_vars, host_vars, playbook vars, or inside the git_apps dictionary within host_vars
splunk_reload_deploy_server_timeout: 300 # Timeout in seconds the CLI waits for operation to complete before exiting
splunk_auditd_configure: false # Whether or not to install auditd filtering rules for splunk launched executables
# IDXC Vars
splunk_idxc_key: mypass4symmkey
Expand Down
2 changes: 1 addition & 1 deletion roles/splunk/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
when: "'clustermanager' in group_names"

- name: reload deployment server
command: "{{ splunk_home }}/bin/splunk reload deploy-server -auth {{ splunk_auth }}"
command: "{{ splunk_home }}/bin/splunk reload deploy-server -timeout {{ splunk_reload_deploy_server_timeout }} -auth {{ splunk_auth }}"
become: true
become_user: "{{ splunk_nix_user }}"
no_log: true
Expand Down