workstations.yml 752 B

123456789101112131415161718192021222324252627282930313233
  1. - name: Madrid
  2. hosts: workstations
  3. become: yes
  4. gather_facts: no
  5. tasks:
  6. - name: touch
  7. file:
  8. path: /home/vagrant/madrid
  9. state: touch
  10. # Instalar ubuntu-mate-desktop y wireshark en workstation11 y workstation21
  11. - name: Instalar ubuntu-mate-desktop y wireshark en workstations
  12. hosts: workstations
  13. become: yes
  14. gather_facts: no
  15. tasks:
  16. - name: Instalar ubuntu-mate-core
  17. apt:
  18. name: ubuntu-mate-core
  19. state: present
  20. update_cache: yes
  21. - name: Instalar lightdm
  22. apt:
  23. name: lightdm
  24. state: present
  25. - name: Instalar wireshark
  26. apt:
  27. name: wireshark
  28. state: present
  29. - name: Reiniciar las maquinas
  30. reboot:
  31. reboot_timeout: 300