pi user and autologin
This commit is contained in:
parent
0cf06ea7b6
commit
2e73a3b444
14
kodi.yml
14
kodi.yml
@ -44,6 +44,20 @@
|
|||||||
state: present
|
state: present
|
||||||
method: system
|
method: system
|
||||||
|
|
||||||
|
- name: Create autologin group
|
||||||
|
ansible.builtin.group:
|
||||||
|
name: autologin
|
||||||
|
state: present
|
||||||
|
gid: 1100
|
||||||
|
|
||||||
|
- name: Create pi User
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: pi
|
||||||
|
comment: pi
|
||||||
|
uid: 1100
|
||||||
|
group: users
|
||||||
|
groups: autologin,sudo,adm,audio,video,games,input,render,netdev
|
||||||
|
|
||||||
- name: lightdm.conf
|
- name: lightdm.conf
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/lightdm/lightdm.conf
|
path: /etc/lightdm/lightdm.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user