How do you implement this using ansible playbook? I'm also stuck with this process of accepting the license in Splunk. I'm using user-seed.conf but it couldn't access the src path since I'm using gitlab as my repository. - name: Generate Splunk Seed Password ansible.builtin.set_fact: splunk_seed_passwd: "{{ 'password' | password_hash('sha512') }}" register: hashed_pwd when: splunk_agent_status.rc != 0 - name: Create user-seed.conf file ansible.builtin.template: dest: /opt/splunkforwarder/etc/system/local/user-seed.conf owner: root group: root mode: 0640 option: "{{ item.opt }}" value: "{{ item.val }}" with_items: - {opt: 'USERNAME', val: 'admin'} - {opt: 'HASHED_PASSWORD', val: '{{ hashed_pwd}}'} become: true when: splunk_agent_status.rc != 0
... View more