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.

17 lines
523 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:!splunk_uf_Windows
tasks:
- name:
copy:
src: "{{ playbook_dir }}/Keys_public/SVLCTPLOGSUP01.mom.fr/"
dest: "/opt/splunk/etc/auth/distServerKeys/SVLCTPLOGSUP01.mom.fr/"
owner: splunk
group: splunk
- name: "Start Splunk via cli"
command: "{{ splunk_exec }} start"
become: yes
become_user: "{{ privileged_user }}"