tripleo-quickstart-extras/playbooks/build-images-v2.yml

32 lines
563 B
YAML

---
- name: Add the virthost to the inventory
hosts: localhost
tasks:
- name: Add virthost
add_host:
name: "{{ virthost }}"
groups: "virthost"
ansible_fqdn: "{{ virthost }}"
ansible_user: "root"
ansible_host: "{{ virthost }}"
tags:
- provision
- name: Inventory the virthost
hosts: localhost
gather_facts: true
roles:
- tripleo-inventory
tags:
- provision
- include: teardown-provision.yml
- include: provision.yml
- name: Build images
hosts: virthost
roles:
- build-images