Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- te_agent.msi /qn TE_SERVER_HOSTNAME=172.xx.x.xxx INSTALL_RTM=true SERVICES_PASSWORD=passphrase ACCEPT_EULA=true
- ---
- - name: Install Tripwire
- hosts: winserver
- gather_facts: true
- tasks:
- - win_copy:
- src: /etc/windowsFiles/Tripwire
- dest: C:/temp/
- - win_command: C:/temp/Tripwire/TripwireAgentInstall.bat
- PLAY [Install Tripwire] ********************************************************
- TASK [Gathering Facts] *********************************************************
- ok: [172.xx.xxx.xx]
- TASK [win_copy] ****************************************************************
- ok: [172.xx.xxx.xx]
- TASK [win_command] *************************************************************
- fatal: [172.xx.xxx.xx]: FAILED! => {"changed": true, "cmd": "C:/temp/Tripwire/TripwireAgentInstall.bat", "delta": "0:00:00.032005", "end": "2017-08-17 03:21:01.387173", "failed": true, "rc": 1, "start": "2017-08-17 03:21:01.355168", "stderr": "'te_agent.msi' is not recognized as an internal or external command,rnoperable program or batch file.rn", "stderr_lines": ["'te_agent.msi' is not recognized as an internal or external command,", "operable program or batch file."], "stdout": "", "stdout_lines": []}
- to retry, use: --limit @/etc/ansible/playbooks/tripwire.retry
- PLAY RECAP *********************************************************************
- 172.xx.xxx.xx : ok=2 changed=0 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement