splunk / splunk-platform-automator

Ansible framework providing a fast and simple way to spin up complex Splunk environments.
Apache License 2.0
117 stars 45 forks source link

Special characters in Splunk password #6

Closed bojanjanisch closed 4 years ago

bojanjanisch commented 5 years ago

Describe the bug When using special characters in the Splunk password the Splunk setup crashes.

To Reproduce Steps to reproduce the behavior:

general:
  start_ip: 172.16.1.100

virtualbox:
    box: "centos/7" # Default

splunk_defaults:
    splunk_env_name: splk
    splunk_version: '6.5.7'
    splunk_admin_password: '$plunkLab'

splunk_hosts:
  - name: shidx
    roles:
      - indexer
      - search_head

Expected behavior The password set should be $plunkLab.

Desktop (please complete the following information):

Additional context I fixed this issue by putting the password in the ansible scripts into single quotes.

splunkenizer commented 4 years ago

This bug has been fixed with commit bbceb83