boot graphical with lightdm

This commit is contained in:
olli 2022-10-19 11:42:35 +02:00
parent 497a5597c1
commit 92a000d007

View File

@ -73,6 +73,20 @@
notify: notify:
- Restart lightdm - Restart lightdm
- name: 'add lightdm to startup'
command: systemctl enable signal-cli
args:
creates: /etc/systemd/system/multi-user.target.wants/lightdm.service
- name: "Get current systemd default"
command: "systemctl get-default"
changed_when: false
register: systemdefault
- name: "Set default to graphical target"
command: "systemctl set-default graphical.target"
when: "'graphical' not in systemdefault.stdout"
handlers: handlers: