Skip to content

Commit 894e879

Browse files
committed
gogo3
1 parent 93c75ee commit 894e879

File tree

1 file changed

+2
-0
lines changed
  • icpc-wf/ansible/roles/domjudge_user/tasks

1 file changed

+2
-0
lines changed

icpc-wf/ansible/roles/domjudge_user/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@
4343
line: 'AutomaticLoginEnable=true'
4444
create: yes
4545
notify: restart gdm
46+
when: GRAPHICAL
4647

4748
- name: Automatically login domjudge user
4849
lineinfile:
4950
path: /etc/gdm3/custom.conf
5051
regexp: 'AutomaticLogin='
5152
line: 'AutomaticLogin=domjudge'
5253
notify: restart gdm
54+
when: GRAPHICAL
5355

5456
- name: make sure autostart directory exists
5557
file: dest=/home/domjudge/.config/autostart state=directory owner=domjudge group=domjudge

0 commit comments

Comments
 (0)