aboutsummaryrefslogtreecommitdiffstats
path: root/roles/users/templates/doas.conf.j2
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-19 14:13:28 +0100
committerbinary <me@rgoncalves.se>2020-11-19 14:13:28 +0100
commit75b32e60aad2bc2d8d1746be1dbc6d6bf422592e (patch)
treea15f397fbbbf2de579786ed30214411c62dbab35 /roles/users/templates/doas.conf.j2
parent97f201deb22f11acc22dda5368c365701b5caa5f (diff)
downloadinfrastructure-75b32e60aad2bc2d8d1746be1dbc6d6bf422592e.tar.gz
Move roles functionnality in sub-roles
Diffstat (limited to 'roles/users/templates/doas.conf.j2')
-rw-r--r--roles/users/templates/doas.conf.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/users/templates/doas.conf.j2 b/roles/users/templates/doas.conf.j2
new file mode 100644
index 0000000..51ee4cf
--- /dev/null
+++ b/roles/users/templates/doas.conf.j2
@@ -0,0 +1,6 @@
+
+# doas ~~ /etc/doas.conf
+# managed by Ansible
+
+permit keepenv nopass root
+permit keepenv nopass {{ user_op }} as root
remember that computers suck.