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.
10 lines
554 B
10 lines
554 B
- hosts: splunk_uf_win_m-tic
|
|
name: Copy source forwarder windows
|
|
ansible.windows.win.copy:
|
|
src: "{{ playbook_dir }}/roles/sources/{{ hostvars ['127.0.0.1'].splunkforwarder-8.1.3-63079c59e632-x64-release.msi }}"
|
|
dest: "C:\Temp\"
|
|
|
|
- hosts: splunk_uf_win_m-tic
|
|
name: Install SplunkForwarder Windows
|
|
win_command: C:\Windows\System32\msiexec.exe /i C:\Temp\splunkforwarder-8.1.3-63079c59e632-x64-release.msi AGREETOLICENSE=Yes SPLUNKUSERNAME=admin SPLUNKPASSWORD=Adm1nPa$$w0rd /quiet
|
|
when: splunkforwarder_installed.exists == false |