No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

mainentance.yml 951B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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