2022-09-14 13:33:06 +00:00
|
|
|
# npcap=0.96 is the last version to support silent installation
|
|
|
|
- name: Install npcap
|
|
|
|
win_package:
|
|
|
|
path: https://npcap.com/dist/npcap-0.96.exe
|
|
|
|
arguments: /S
|
2022-09-20 13:19:49 +00:00
|
|
|
creates_path: "%ProgramFiles%\\Npcap\\npcap.cat"
|
2022-09-14 13:33:06 +00:00
|
|
|
|
|
|
|
- name: Install Wireshark
|
|
|
|
win_chocolatey:
|
|
|
|
name: wireshark
|
2022-09-20 13:19:49 +00:00
|
|
|
|
|
|
|
- name: Touch Wireshark preferences
|
|
|
|
win_file:
|
|
|
|
path: "%ProgramFiles%\\Wireshark\\preferences"
|
|
|
|
state: touch
|
|
|
|
|
|
|
|
- name: Disable Wireshark auto updates
|
|
|
|
win_lineinfile:
|
|
|
|
path: "%ProgramFiles%\\Wireshark\\preferences"
|
|
|
|
line: "gui.update.enabled: FALSE"
|