tripleo-quickstart-extras/playbooks/cleanup-destructive.yml

18 lines
415 B
YAML

---
- name: Add virthost to inventory
hosts: localhost
tasks:
- name: Add the virthost to the inventory
add_host:
name: "{{virthost}}"
groups: "virthost"
ansible_fqdn: "{{ virthost }}"
ansible_user: "root"
ansible_host: "{{ virthost }}"
- name: Clean up tripleo packages and libvirt
hosts: virthost
gather_facts: false
roles:
- virthost-full-cleanup