5cc18e2bca
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
18 lines
468 B
YAML
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' }
|
|
|