|
|
|
@ -20,10 +20,6 @@
|
|
|
|
#- name: "Copy SCP"
|
|
|
|
#- name: "Copy SCP"
|
|
|
|
#shell: scp admin@10.10.30.38:/tmp/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz "{{ splunk_build_location_uf}}"
|
|
|
|
#shell: scp admin@10.10.30.38:/tmp/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz "{{ splunk_build_location_uf}}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Récupérer le fichier depuis l'hôte source et le copier sur l'hôte distant
|
|
|
|
|
|
|
|
hosts: SVLCTPSUPPFI02.mom.fr
|
|
|
|
|
|
|
|
become: true
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
|
|
|
|
- name: Récupérer le fichier depuis l'hôte source
|
|
|
|
- name: Récupérer le fichier depuis l'hôte source
|
|
|
|
fetch:
|
|
|
|
fetch:
|
|
|
|
src: /tmp/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz
|
|
|
|
src: /tmp/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz
|
|
|
|
@ -33,6 +29,7 @@
|
|
|
|
fail_on_missing: yes
|
|
|
|
fail_on_missing: yes
|
|
|
|
fail_on_unreachable: yes
|
|
|
|
fail_on_unreachable: yes
|
|
|
|
delegate_to: 10.10.30.38
|
|
|
|
delegate_to: 10.10.30.38
|
|
|
|
|
|
|
|
|
|
|
|
- name: Copier le fichier vers l'hôte distant
|
|
|
|
- name: Copier le fichier vers l'hôte distant
|
|
|
|
copy:
|
|
|
|
copy:
|
|
|
|
src: /tmp/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz
|
|
|
|
src: /tmp/splunkforwarder-8.2.3-cd0848707637-Linux-x86_64.tgz
|
|
|
|
|