You've already forked disable-terminal
initial commit
This commit is contained in:
18
tasks/disabled.yml
Normal file
18
tasks/disabled.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
- name: Disabled service getty@tty1
|
||||
systemd:
|
||||
name: getty@tty1
|
||||
state: disabled
|
||||
enabled: true
|
||||
|
||||
- name: Disabled service getty-static
|
||||
systemd:
|
||||
name: getty-static
|
||||
state: disabled
|
||||
enabled: true
|
||||
|
||||
- name: Copy logind.conf
|
||||
template:
|
||||
src: logind.conf.j2
|
||||
dest: "/etc/systemd/logind.conf"
|
||||
become: true
|
||||
Reference in New Issue
Block a user