fix wireshark dump as normal user
This commit is contained in:
parent
764fd3a3bf
commit
f101787e2d
1 changed files with 6 additions and 0 deletions
|
@ -70,6 +70,12 @@
|
|||
default_release: "{{ ansible_distribution_release }}-backports"
|
||||
when: ansible_distribution_release == 'bullseye'
|
||||
|
||||
- name: set capabilities (wireshark)
|
||||
capabilities:
|
||||
path: /usr/bin/dumpcap
|
||||
capability: cap_net_raw,cap_net_admin+eip
|
||||
state: present
|
||||
|
||||
- name: Add home dirs to apparmor
|
||||
lineinfile:
|
||||
dest: /etc/apparmor.d/tunables/home.d/ubuntu
|
||||
|
|
Loading…
Add table
Reference in a new issue