lowell80 / lowell80.splunk / 0.12.3 / module / splunk_cli Splunk command line interface | "added in version" 0.9.0 of lowell80.splunk" Authors: Lowell C. Alleman (@lowell80)lowell80.splunk.splunk_cli (0.12.3) — module
Install with ansible-galaxy collection install lowell80.splunk:==0.12.3
collections: - name: lowell80.splunk version: 0.12.3
This is a lightweight wrapper around the Splunk CLI that handles auth parameter hiding and some other niceties.
If the Splunk command requires authentication, provide the I(username) and I(password) options.
cmd: default: null description: - Command line arguments to the Splunk CLI required: true password: default: null description: - The password for username/password authentication. - Must be provided if I(username) is provided. required: false username: default: null description: - Splunk username for username/password authentication. - When provided, I(password) must also be specified. required: false splunk_home: default: /opt/splunk description: - The Splunk installation home. $SPLUNK_HOME required: true splunkd_uri: aliases: - uri default: https://localhost:8089 description: - The Splunkd endpoint of the Splunk server to configure. - Defaults to the local server and default splunkd port. required: false