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
617 B
21 lines
617 B
---
|
|
- name: Copie de la clé du DSMC sur les instances splunk
|
|
become: true
|
|
become_user: "{{ privileged_user }}"
|
|
#hosts: all:!splunk_uf_Linux:!splunk_deployement
|
|
copy:
|
|
src: "{{ playbook_dir }}/Keys_public/SRVDSMC.jpit.com/"
|
|
dest: "/opt/splunk/etc/auth/distServerKeys/SRVDSMC.jpit.com/"
|
|
owner: root
|
|
group: root
|
|
remote_src: true
|
|
|
|
- name: "Attribution des droits Splunk"
|
|
shell: "chown -Rf splunk:splunk /opt/splunk/"
|
|
become: yes
|
|
become_user: "{{ privileged_user }}"
|
|
|
|
- name: "Start Splunk via cli"
|
|
command: "{{ splunk_exec }} start"
|
|
become: yes
|
|
become_user: "{{ privileged_user }}" |