tripleo-quickstart-extras/playbooks/ovb-create-stack.yml
John Trowbridge 5cc18e2bca Split general OVB setup tasks from the the stack create
This is the first step in combining the upstream playbook used
for OVB jobs with this one. This should be a no-op change in terms
of what gets run, however the part that is split out is common to
the upstream jobs which create the stack via the testenv broker.

We can then iterate on adding in the testenv broker steps (guarded
by some option) in follow-up patches.

Change-Id: I7cad64e83ed0fbf791b26bdf0e381599d177de7b
2017-10-17 20:39:32 +00:00

18 lines
468 B
YAML

---
# Add the virthost to the in-memory inventory. The inventory is not
# written out to disk unless you call the `tripleo-inventory` role.
- name: Add the virthost to the inventory
hosts: localhost
tasks:
- name: Add virthost
add_host:
name: "virthost"
groups: "virthost"
ansible_host: "{{ virthost }}"
- name: Create the OVB stack
hosts: localhost
roles:
- { role: ovb-manage-stack, ovb_manage_stack_mode: 'create' }