summaryrefslogtreecommitdiffstats
path: root/enable-sysrq
diff options
context:
space:
mode:
authorJonathan Bauer2021-05-19 10:19:38 +0200
committerJonathan Bauer2021-05-19 10:19:38 +0200
commitf2fb009e54e05dcfdd6b745b7d5316d266c6add9 (patch)
tree31bdc0145fc186b1bdf8caadd3cd744fea206a40 /enable-sysrq
parent[mltk-vmware] mltk vmware addon (diff)
downloadansible-bwlp-f2fb009e54e05dcfdd6b745b7d5316d266c6add9.tar.gz
ansible-bwlp-f2fb009e54e05dcfdd6b745b7d5316d266c6add9.tar.xz
ansible-bwlp-f2fb009e54e05dcfdd6b745b7d5316d266c6add9.zip
[*] volatile journald and sysrq config
Diffstat (limited to 'enable-sysrq')
-rw-r--r--enable-sysrq/tasks/main.yml4
-rw-r--r--enable-sysrq/templates/99-openslx.conf.j21
2 files changed, 5 insertions, 0 deletions
diff --git a/enable-sysrq/tasks/main.yml b/enable-sysrq/tasks/main.yml
new file mode 100644
index 0000000..2120e39
--- /dev/null
+++ b/enable-sysrq/tasks/main.yml
@@ -0,0 +1,4 @@
+- name: Enable magic keys
+ template:
+ src: templates/99-openslx.conf.j2
+ dest: /etc/sysctl.d/99-openslx.conf
diff --git a/enable-sysrq/templates/99-openslx.conf.j2 b/enable-sysrq/templates/99-openslx.conf.j2
new file mode 100644
index 0000000..3613892
--- /dev/null
+++ b/enable-sysrq/templates/99-openslx.conf.j2
@@ -0,0 +1 @@
+kernel.sysrq = 1