Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

47 lines
826B

  1. ---
  2. - hosts: vdesks
  3. gather_facts: false
  4. roles:
  5. - name: staging
  6. default_stage: provisioning
  7. - hosts: vdesks:&provisioning
  8. remote_user: root
  9. gather_facts: false
  10. roles:
  11. - role: netif
  12. - role: virt_provision
  13. - role: common
  14. - name: staging
  15. next_stage: staging
  16. - hosts: vdesks
  17. remote_user: root
  18. roles:
  19. - role: common
  20. - role: eralitex_desktop
  21. - role: desktop_apps
  22. - role: libreoffice
  23. - role: atom_editor
  24. - role: accounting
  25. tasks:
  26. - name: install packages
  27. apt:
  28. pkg: "{{item}}"
  29. with_items:
  30. - thunderbird
  31. - hosts: vdesks:&staging
  32. remote_user: root
  33. roles:
  34. - name: staging
  35. next_stage: production
  36. - hosts: vdesks:&recycling
  37. remote_user: root
  38. gather_facts: false
  39. roles:
  40. - role: virt
  41. virt_state: absent