You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
637B

  1. ---
  2. - name: make sure no other display managers are installed
  3. apt:
  4. pkg: "{{ item }}"
  5. state: absent
  6. with_items:
  7. - slim
  8. - gdm3
  9. - kdm
  10. - sddm
  11. - name: install packages
  12. apt:
  13. pkg: "{{ item }}"
  14. state: installed
  15. with_items:
  16. - xserver-xorg
  17. - xserver-xorg-video-all
  18. - xserver-xorg-input-all
  19. - x11-xserver-utils
  20. - lightdm
  21. - yad
  22. - name: lightdm configuration
  23. template:
  24. src: lightdm.conf.j2
  25. dest: /etc/lightdm/lightdm.conf
  26. notify: restart lightdm
  27. - include: mainentance.yml
  28. - name: lightdm started
  29. service:
  30. name: lightdm
  31. state: started
  32. - meta: flush_handlers