1f47f3afd9
Change-Id: I5d6d7759c12fa8a95a4b33204b95670b2291df3d
18 lines
413 B
YAML
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
|