Add KillUserProcesses to logind.conf on office terminals

pull/13/head
Zachary Seguin 6 years ago
parent d0a2e269c3
commit 9f755e2884
  1. 1
      install-office-terminal.yml
  2. 8
      roles/kill-user-processes/tasks/main.yml

@ -15,4 +15,5 @@
- general-use-gui
- audio-client
- ipv6-disable-ra-privacy
- kill-user-processes
- cleanup

@ -0,0 +1,8 @@
---
- name: enable KillUserProcesses in /etc/systemd/logind.conf
lineinfile: dest=/etc/systemd/logind.conf
state=present
backrefs=yes
regexp='^#KillUserProcesses=(no|yes)'
line='KillUserProcesses=yes'
Loading…
Cancel
Save