tripleo-quickstart-extras/playbooks/cleanup-destructive.yml
Sorin Sbarnea cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00

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