Skip to content

Commit

Permalink
Install wireshark
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinpinto committed Apr 2, 2024
1 parent ff588f7 commit a98806d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions dev-machine/roles/linux/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- include_tasks: "x11.yml"
- include_tasks: "fonts.yml"
- include_tasks: "browsers.yml"
- include_tasks: "wireshark.yml"
- include_tasks: "docker.yml"
- include_tasks: "user.yml"
- include_tasks: "ergodox.yml"
Expand Down
4 changes: 3 additions & 1 deletion dev-machine/roles/linux/tasks/user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
user:
name: "marvin"
append: true
groups: "docker"
groups:
- "docker"
- "wireshark"

- name: "Put the ssh key in place"
become: true
Expand Down
14 changes: 14 additions & 0 deletions dev-machine/roles/linux/tasks/wireshark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
- name: "Allow non-superusers to be able to capture wireshark packets"
ansible.builtin.debconf:
name: "wireshark-common"
question: "wireshark-common/install-setuid"
value: "true"
vtype: "boolean"

- name: "Install wireshark"
environment:
DEBIAN_FRONTEND: "noninteractive"
apt:
name: "wireshark"
state: "present"
3 changes: 3 additions & 0 deletions dotfiles/dot_config/private_cheat/cheatsheets/tmux
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ mod + d # detach from a session (within tmux)
tmux attach -d -t <session-name> # connect/attach to an existing session
tmuxinator start <name> # start a named session sourced from a file in ~/.config/tmuxinator (i.e. "quickdev")
tmuxinator start/stop # start or stop a named session sourced from a local ./.tmuxinator.yml file

# Automatically re-number all your remaining tmux windows
:movew -r

0 comments on commit a98806d

Please sign in to comment.