diff options
Diffstat (limited to 'deployment/playbooks/cleanup-cns.yaml')
-rw-r--r-- | deployment/playbooks/cleanup-cns.yaml | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/deployment/playbooks/cleanup-cns.yaml b/deployment/playbooks/cleanup-cns.yaml deleted file mode 100644 index 5a2d8497..00000000 --- a/deployment/playbooks/cleanup-cns.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -- hosts: localhost - user: root - become: false - ignore_errors: yes - vars_files: - - vars/main.yaml - roles: - - instance-groups - -- hosts: cns - user: root - become: false - ignore_errors: yes - vars_files: - - vars/main.yaml - roles: - - rhsm-unregister - -- hosts: localhost - user: root - become: false - ignore_errors: yes - vars_files: - - vars/main.yaml - tasks: - - name: Delete cns VMs - vmware_guest: - hostname: "{{ vcenter_host }}" - username: "{{ vcenter_username }}" - password: "{{ vcenter_password }}" - datacenter: "{{ vcenter_datacenter }}" - folder: "/{{ vcenter_folder }}" - name: "{{ item.value.guestname }}" - state: absent - force: true - with_dict: "{{host_inventory}}" - when: "'cns' in item.value.guestname" |