master
JocelynPa 3 years ago
parent 5528cf2b17
commit caed99c559

@ -4,30 +4,30 @@
tasks: tasks:
- name: Suppression du repertoire non fonctionnel 1 - name: Suppression du repertoire non fonctionnel 1
hosts: all hosts: all
file: file:
path: /opt/splunk/etc/apps/01-Conf_deploy_client path: /opt/splunk/etc/apps/01-Conf_deploy_client
state: absent state: absent
force: yes force: yes
- name: Suppression du repertoire non fonctionnel 2 - name: Suppression du repertoire non fonctionnel 2
hosts: all hosts: all
file: file:
path: /opt/splunkforwarder/etc/apps/01-Conf_deploy_client path: /opt/splunkforwarder/etc/apps/01-Conf_deploy_client
state: absent state: absent
force: yes force: yes
- name: Copier le répertoire dans Splunk - name: Copier le répertoire dans Splunk
hosts: all:!splunk_deployement_TIC:!splunk_monitoring_TIC:!splunk_uf_Linux_TIC hosts: all:!splunk_deployement_TIC:!splunk_monitoring_TIC:!splunk_uf_Linux_TIC
copy: copy:
src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client" src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client"
dest: /opt/splunk/etc/apps/ dest: /opt/splunk/etc/apps/
owner: splunk owner: splunk
group: splunk group: splunk
- name: Copier le répertoire dans SplunkForwarder - name: Copier le répertoire dans SplunkForwarder
hosts: splunk_uf_Linux_TIC hosts: splunk_uf_Linux_TIC
copy: copy:
src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client" src: "{{ playbook_dir }}/Apps_for_Splunk/01-Conf_deploy_client"
dest: /opt/splunkforwarder/etc/apps/ dest: /opt/splunkforwarder/etc/apps/
owner: splunk owner: splunk
group: splunk group: splunk
Loading…
Cancel
Save