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.
Splunk_Int/install_splunk_uf_win.yml

18 lines
711 B

- hosts: splunk_uf_Windows
tasks:
- name: Téléchargement des sources
win_get_url:
url: "https://{{ repo_url }}/{{ projet }}/{{ app_name }}"
dest: c:\temp\
username: "{{ repo_user }}"
password: "{{ repo_password }}"
tags: install
- hosts: splunk_uf_Windows
tasks:
- name: Installation de l'agent Splunk UF
win_package:
path: C:\Temp\splunkforwarder-9.3.0-51ccf43db5bd-x64-release.msi
#product_id: "{6C243C23-42E6-46E7-AECC-81428601A55E}"
state: present
arguments: 'INSTALLDIR="C:\Program Files\SplunkUniversalForwarder" AGREETOLICENSE=Yes /quiet SPLUNK_USER="admin" SPLUNK_PASSWORD="Adm1nPa$$w0rd"'