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 1
1
---
2
- - name : Restart gdm
2
+ - name : Restart lightdm
3
3
service :
4
- name : gdm3
4
+ name : lightdm
5
5
enabled : true
6
6
state : restarted
Original file line number Diff line number Diff line change 24
24
25
25
- name : Setup autologin on desktop installs
26
26
block :
27
- - name : Enable GDM autologin
27
+ - name : Enable lightdm autologin
28
28
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 '
32
32
create : true
33
33
mode : 0644
34
- notify : Restart gdm
34
+ notify : Restart lightdm
35
35
36
36
- name : Automatically login domjudge user
37
37
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
42
44
43
45
- name : Make sure autostart directory exists
44
46
file :
You can’t perform that action at this time.
0 commit comments