parent
d9ed538761
commit
636547459c
@ -1,11 +1,27 @@
|
||||
---
|
||||
- name: Restart Splunk
|
||||
- name: Restart Cluster_SH
|
||||
become: yes
|
||||
become_user: "{{ privileged_user }}"
|
||||
hosts: all
|
||||
hosts: splunk_search_head
|
||||
tasks:
|
||||
- name: "Start Splunk via cli"
|
||||
command: "{{ splunk_exec }} restart"
|
||||
|
||||
# - name: "Start Splunk via cli"
|
||||
# command: "{{ splunk_exec_uf }} restart"
|
||||
|
||||
- name: Restart Cluster_IDX
|
||||
become: yes
|
||||
become_user: "{{ privileged_user }}"
|
||||
hosts: splunk_indexer
|
||||
tasks:
|
||||
- name: "Start Splunk via cli"
|
||||
command: "{{ splunk_exec_uf }} restart"
|
||||
command: "{{ splunk_exec }} restart"
|
||||
|
||||
- name: Restart Cluster_Master
|
||||
become: yes
|
||||
become_user: "{{ privileged_user }}"
|
||||
hosts: splunk_cluster_master
|
||||
tasks:
|
||||
- name: "Start Splunk via cli"
|
||||
command: "{{ splunk_exec }} restart"
|
||||
Loading…
Reference in new issue