Group/host variable refactor

This commit is contained in:
Sonny Bakker 2025-03-15 00:05:30 +01:00
parent eb308670cc
commit 4b8aaf3e95
78 changed files with 445 additions and 374 deletions

View file

@ -1,2 +0,0 @@
# {{ ansible_managed }}
net.ipv4.ip_forward = 1

View file

@ -1,2 +0,0 @@
# {{ ansible_managed }}
kernel.sysrq = 1

11
templates/polkit.j2 Normal file
View file

@ -0,0 +1,11 @@
/* {{ ansible_managed }}
*
* Allow members of the wheel group to execute any actions
* without password authentication, similar to "sudo NOPASSWD:"
* without password authentication, similar to "sudo NOPASSWD:"
*/
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});