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.

22 lines
585 B

---
- name: Copier le configuration DS dans Splunk
become: yes
become_user: "{{ privileged_user }}"
copy:
src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client"
dest: /opt/splunk/etc/apps/
owner: splunk
group: splunk
- name: "Stop Splunk via cli"
command: "{{ splunk_exec }} stop"
become: yes
become_user: "{{ privileged_user }}"
- name: "Enable boot-start Splunk via cli"
shell: "/opt/splunk/bin/splunk enable boot-start"
- name: "Start Splunk via cli"
command: "{{ splunk_exec }} start"
become: yes
become_user: "{{ privileged_user }}"