mirror of
https://github.com/roles-ansible/role-grafana-kiosk.git
synced 2024-08-16 10:09:49 +02:00
16 lines
473 B
YAML
16 lines
473 B
YAML
---
|
|
- name: set autologin user to '{{ grafana_kiosk.user }}'
|
|
become: true
|
|
lineinfile:
|
|
path: /etc/lightdm/lightdm.conf
|
|
regexp: '^autologin-user='
|
|
insertafter: '^#autologin-user='
|
|
line: "autologin-user={{ grafana_kiosk.user }}"
|
|
|
|
- name: set autologin user timeout to 0
|
|
become: true
|
|
lineinfile:
|
|
path: /etc/lightdm/lightdm.conf
|
|
regexp: '^autologin-user-timeout='
|
|
insertafter: '^#autologin-user-timeout='
|
|
line: "autologin-user-timeout=0"
|