File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed
provision-contest/ansible/roles/domjudge_user Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 11---
2- - name : Restart gdm
2+ - name : Restart lightdm
33 service :
4- name : gdm3
4+ name : lightdm
55 enabled : true
66 state : restarted
Original file line number Diff line number Diff line change 2424
2525- name : Setup autologin on desktop installs
2626 block :
27- - name : Enable GDM autologin
27+ - name : Enable lightdm autologin
2828 lineinfile :
29- path : /etc/gdm3/custom .conf
30- regexp : ' AutomaticLoginEnable '
31- line : ' AutomaticLoginEnable=true '
29+ path : /etc/lightdm/lightdm .conf
30+ regexp : ' autologin-timeout '
31+ line : ' autologin-timeout=0 '
3232 create : true
3333 mode : 0644
34- notify : Restart gdm
34+ notify : Restart lightdm
3535
3636 - name : Automatically login domjudge user
3737 lineinfile :
38- path : /etc/gdm3/custom.conf
39- regexp : ' AutomaticLogin\s*='
40- line : ' AutomaticLogin=domjudge'
41- notify : Restart gdm
38+ path : /etc/lightdm/lightdm.conf
39+ regexp : ' autologin-user'
40+ line : ' autologin-user=domjudge'
41+ create : true
42+ mode : 0644
43+ notify : Restart lightdm
4244
4345 - name : Make sure autostart directory exists
4446 file :
You can’t perform that action at this time.
0 commit comments