parent
3b6c42c63f
commit
276151049a
@ -1,21 +0,0 @@
|
||||
- name: Copie de la configuration du deploiment server
|
||||
become: yes
|
||||
become_user: "{{ privileged_user }}"
|
||||
hosts: splunk_uf_Linux_TIA
|
||||
tasks:
|
||||
- name: Copier le répertoire dans SplunkForwarder
|
||||
copy:
|
||||
src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client"
|
||||
dest: /opt/splunkforwarder/etc/apps/
|
||||
owner: splunk
|
||||
group: splunk
|
||||
|
||||
- name: "Start Splunk via cli"
|
||||
command: "{{ splunk_exec_uf }} enable boot-start"
|
||||
become: yes
|
||||
become_user: "{{ splunk_user }}"
|
||||
|
||||
- name: "Start Splunk via cli"
|
||||
command: "{{ splunk_exec_uf }} start --accept-license --answer-yes --no-prompt"
|
||||
become: yes
|
||||
become_user: "{{ splunk_user }}"
|
||||
@ -1,22 +0,0 @@
|
||||
---
|
||||
- name: Copie de la configuration du deploiment server
|
||||
become: yes
|
||||
become_user: "{{ privileged_user }}"
|
||||
hosts: splunk_indexer_TIA,splunk_cluster_master_TIA:!splunk_uf_Linux_TIA
|
||||
tasks:
|
||||
- name: Copier le configuration DS dans Splunk
|
||||
copy:
|
||||
src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client"
|
||||
dest: /opt/splunk/etc/apps/
|
||||
owner: splunk
|
||||
group: splunk
|
||||
|
||||
- name: "Start Splunk via cli"
|
||||
command: "{{ splunk_exec }} enable boot-start"
|
||||
become: yes
|
||||
become_user: "{{ splunk_user }}"
|
||||
|
||||
- name: "Start Splunk via cli"
|
||||
command: "{{ splunk_exec }} start --accept-license --answer-yes --no-prompt"
|
||||
become: yes
|
||||
become_user: "{{ splunk_user }}"
|
||||
@ -1,17 +0,0 @@
|
||||
---
|
||||
all_splunk_instances:
|
||||
children:
|
||||
splunk_indexer_TIA:
|
||||
hosts:
|
||||
SVLATPLOGIDX01.mom.fr:
|
||||
SVLATPLOGIDX02.mom.fr:
|
||||
splunk_uf_Linux_TIA:
|
||||
hosts:
|
||||
SVLATPSUPPFI01.mom.fr:
|
||||
SVLATPSUPPFI02.mom.fr:
|
||||
splunk_uf_Windows_TIA:
|
||||
hosts:
|
||||
SVWATPSUPPFI01.mom.fr:
|
||||
splunk_cluster_master_TIA:
|
||||
hosts:
|
||||
SVLATPLOGCLM01.mom.fr:
|
||||
Loading…
Reference in new issue