2021-01-29 00:08:39 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Deploy logind configuration
|
|
|
|
template:
|
|
|
|
src: 'logind.conf.j2'
|
|
|
|
dest: '/etc/systemd/logind.conf'
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
2021-01-29 00:08:39 +00:00
|
|
|
|
|
|
|
- name: Create autologin directory on tty1
|
|
|
|
file:
|
|
|
|
path: '/etc/systemd/system/getty@tty1.service.d'
|
|
|
|
state: directory
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0755
|
2021-01-29 00:08:39 +00:00
|
|
|
|
|
|
|
- name: Copy autologin template file
|
|
|
|
template:
|
|
|
|
src: 'override.conf.j2'
|
|
|
|
dest: '/etc/systemd/system/getty@tty1.service.d/override.conf'
|
2021-03-17 23:25:44 +00:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|