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.

45 line
951B

  1. ---
  2. - name: install mainentance mode packages
  3. apt:
  4. pkg: "{{ item }}"
  5. state: installed
  6. with_items:
  7. - yad
  8. - xbindkeys
  9. - feh
  10. notify: restart lightdm
  11. - name: mainentance user
  12. user:
  13. name: mainentance
  14. system: yes
  15. createhome: yes
  16. home: /var/lib/mainentance
  17. notify: restart lightdm
  18. - name: mainentance directory
  19. file:
  20. path: /usr/local/share/mainentance
  21. state: directory
  22. notify: restart lightdm
  23. - name: mainentance xsession desktop
  24. template:
  25. src: mainentance.desktop.j2
  26. dest: /usr/local/share/mainentance/mainentance.desktop
  27. notify: restart lightdm
  28. - name: mainentance xsession script
  29. template:
  30. src: mainentance-xsession.sh.j2
  31. dest: /usr/local/share/mainentance/xsession
  32. mode: u=rwx,g=rx,o=rx
  33. notify: restart lightdm
  34. - name: mainentance xbindkeys
  35. template:
  36. src: mainentance.xbindkeys.j2
  37. dest: /usr/local/share/mainentance/xbindkeys
  38. notify: restart lightdm