fix linter errors
This commit is contained in:
11
roles/wg_spoke/tasks/logging.yml
Normal file
11
roles/wg_spoke/tasks/logging.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
# SRC https://www.procustodibus.com/blog/2021/03/wireguard-logs/
|
||||
- name: "Add wireguard module"
|
||||
community.general.modprobe:
|
||||
name: wireguard
|
||||
state: present
|
||||
|
||||
- name: "Turn on Wireguard dyndbg logging into kernel message buffer"
|
||||
changed_when: false
|
||||
ansible.builtin.shell:
|
||||
cmd: echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control
|
||||
Reference in New Issue
Block a user