Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

45 linhas
951B

  1. ---
  2. - name: install maintenance 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: maintenance user
  12. user:
  13. name: maintenance
  14. system: yes
  15. createhome: yes
  16. home: /var/lib/maintenance
  17. notify: restart lightdm
  18. - name: maintenance directory
  19. file:
  20. path: /usr/local/share/maintenance
  21. state: directory
  22. notify: restart lightdm
  23. - name: maintenance xsession desktop
  24. template:
  25. src: maintenance.desktop.j2
  26. dest: /usr/local/share/maintenance/maintenance.desktop
  27. notify: restart lightdm
  28. - name: maintenance xsession script
  29. template:
  30. src: maintenance-xsession.sh.j2
  31. dest: /usr/local/share/maintenance/xsession
  32. mode: u=rwx,g=rx,o=rx
  33. notify: restart lightdm
  34. - name: maintenance xbindkeys
  35. template:
  36. src: maintenance.xbindkeys.j2
  37. dest: /usr/local/share/maintenance/xbindkeys
  38. notify: restart lightdm