diff --git a/kodi.yml b/kodi.yml index 4cb34fd..e895d7a 100644 --- a/kodi.yml +++ b/kodi.yml @@ -44,6 +44,20 @@ state: present 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 blockinfile: path: /etc/lightdm/lightdm.conf