Clone shirenn's configuration
This commit is contained in:
19
roles/systemd/tasks/main.yml
Normal file
19
roles/systemd/tasks/main.yml
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
|
||||
- name: Deploy logind configuration
|
||||
template:
|
||||
src: 'logind.conf.j2'
|
||||
dest: '/etc/systemd/logind.conf'
|
||||
become: yes
|
||||
|
||||
- name: Create autologin directory on tty1
|
||||
file:
|
||||
path: '/etc/systemd/system/getty@tty1.service.d'
|
||||
state: directory
|
||||
become: yes
|
||||
|
||||
- name: Copy autologin template file
|
||||
template:
|
||||
src: 'override.conf.j2'
|
||||
dest: '/etc/systemd/system/getty@tty1.service.d/override.conf'
|
||||
become: yes
|
Reference in New Issue
Block a user