tripleo-quickstart-extras/playbooks/cleanup-destructive.yml
Attila Darazs 1f47f3afd9 Correct role renames in the imported playbooks
Change-Id: I5d6d7759c12fa8a95a4b33204b95670b2291df3d
2016-11-22 16:49:04 +01:00

18 lines
413 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: no
roles:
- virthost-full-cleanup