workstations.yml 720 B

123456789101112131415161718192021222324252627282930
  1. - name: Madrid
  2. hosts: workstation1, workstation2
  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 workstation11 y workstation21
  12. hosts: workstation1, workstation2
  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