github.com/openshift/installer@v1.4.17/upi/ovirt/retire-masters.yml (about) 1 --- 2 - hosts: localhost 3 connection: local 4 gather_facts: false 5 6 tasks: 7 - import_tasks: common-auth.yml 8 9 - name: Remove master VMs 10 ovirt_vm: 11 auth: "{{ ovirt_auth }}" 12 cluster: "{{ item.profile.cluster }}" 13 name: "{{ item.name }}" 14 state: absent 15 with_items: 16 - "{{ vms }}" 17 when: item.ocp_type == 'master'