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.
21 lines
679 B
21 lines
679 B
- 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 }}" |