You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
835 B

---
- hosts: splunk_uf_Linux
tasks:
- name: Gathering Facts
include_tasks: roles/splunk_common_uf/tasks/pre_install_subtasks/get_facts.yml
when:
- splunk_get_fact is not defined
- name: "Start Splunk via cli"
command: "{{ splunk_exec_uf }} start --accept-license --answer-yes --no-prompt"
become: yes
become_user: "{{ privileged_user }}"
- name: "Boot-Start Splunk via cli"
command: "{{ splunk_exec_uf }} enable boot-start"
become: yes
become_user: "{{ privileged_user }}"
- hosts: splunk_uf_Linux
serial:
- 1
- 100%
roles:
- splunk_common_uf
tags: all,installation
- hosts: localhost
connection: local
tasks:
- name: Cleanup secret
file:
dest: "/tmp/splunk_secret"
state: "absent"