25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

main.yml 1.4KB

8 yıl önce
7 yıl önce
8 yıl önce
7 yıl önce
7 yıl önce
6 yıl önce
7 yıl önce
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. - lightdm-gtk-greeter
  22. - onboard
  23. - yad
  24. - xbindkeys
  25. - feh
  26. notify: restart lightdm
  27. - include: mainentance.yml
  28. when: display_manager_state == 'mainentance'
  29. - name: lightdm configuration
  30. template:
  31. src: lightdm.conf.j2
  32. dest: /etc/lightdm/lightdm.conf
  33. notify: restart lightdm
  34. - name: lightdm gtk-greeter configuration
  35. template:
  36. src: lightdm-gtk-greeter.conf.j2
  37. dest: /etc/lightdm/lightdm-gtk-greeter.conf
  38. notify: restart lightdm
  39. - name: lightdm display setup script
  40. template:
  41. src: display-setup.sh.j2
  42. dest: /etc/lightdm/display-setup.sh
  43. mode: u=rwx,g=rx,o=rx
  44. when: display_setup_commands is defined
  45. notify: restart lightdm
  46. - name: download background image
  47. get_url:
  48. url: "{{display_manager_background_image_url}}"
  49. dest: "{{display_manager_background_image_path}}"
  50. checksum: "{{display_manager_background_image_checksum}}"
  51. - name: lightdm started
  52. service:
  53. name: lightdm
  54. state: started
  55. enabled: yes
  56. - meta: flush_handlers