You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

vdesks.yml 859B

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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_default_profile
  13. - role: virt_provision
  14. - role: common
  15. - name: staging
  16. next_stage: staging
  17. - hosts: vdesks
  18. remote_user: root
  19. roles:
  20. - role: common
  21. - role: eralitex_desktop
  22. - role: desktop_apps
  23. - role: libreoffice
  24. - role: atom_editor
  25. - role: accounting
  26. tasks:
  27. - name: install packages
  28. apt:
  29. pkg: "{{item}}"
  30. with_items:
  31. - thunderbird
  32. - hosts: vdesks:&staging
  33. remote_user: root
  34. roles:
  35. - name: staging
  36. next_stage: production
  37. - hosts: vdesks:&recycling
  38. remote_user: root
  39. gather_facts: false
  40. roles:
  41. - role: virt
  42. virt_state: absent