feb git sync
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
- name: no autologin - edit logind to set vterms to six
|
||||
lineinfile:
|
||||
dest: /etc/systemd/logind.conf
|
||||
regexp: '^#NAutoVTs='
|
||||
regexp: '^#NAutoVTs=1'
|
||||
line: 'NAutoVTs=6'
|
||||
backrefs: yes
|
||||
|
||||
@ -16,12 +16,6 @@
|
||||
rm /etc/systemd/system/getty@tty1.service.d/override.conf
|
||||
rm /etc/sudoers.d/smartctl
|
||||
|
||||
#- name: no autologin - remove autologin override to getty tty1 service
|
||||
# shell: "rm /etc/systemd/system/getty@tty1.service.d/override.conf"
|
||||
#
|
||||
#- name: no autologin - "User setup - allow {{ autologin_user }} to smartctl"
|
||||
# shell: "rm /etc/sudoers.d/smartctl"
|
||||
|
||||
- name: no autologin - Restart getty@tty1 service
|
||||
systemd:
|
||||
name: getty@tty1.service
|
||||
|
||||
Reference in New Issue
Block a user