--- - hosts: vdesks gather_facts: false roles: - name: staging default_stage: provisioning - hosts: vdesks:&provisioning remote_user: root gather_facts: false roles: - role: netif - role: virt_provision - role: common - name: staging next_stage: staging - hosts: vdesks remote_user: root roles: - role: common - role: eralitex_desktop - role: desktop_apps - role: libreoffice - role: atom_editor - role: ansible tasks: - name: install packages apt: pkg: "{{item}}" with_items: - thunderbird - hosts: vdesks:&staging remote_user: root roles: - name: staging next_stage: production - hosts: vdesks:&recycling remote_user: root gather_facts: false roles: - role: virt virt_state: absent