From 2294a2c54ba76b2a80b25ab2f1a10129c07ab044 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 20 Sep 2022 13:19:49 +0000 Subject: [PATCH] Disable Wireshark autoupdates --- roles/classroom/tasks/wireshark.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/classroom/tasks/wireshark.yml b/roles/classroom/tasks/wireshark.yml index e2ed3b4..5c38680 100644 --- a/roles/classroom/tasks/wireshark.yml +++ b/roles/classroom/tasks/wireshark.yml @@ -3,7 +3,18 @@ win_package: path: https://npcap.com/dist/npcap-0.96.exe arguments: /S + creates_path: "%ProgramFiles%\\Npcap\\npcap.cat" - name: Install Wireshark win_chocolatey: name: wireshark + +- 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"