0ec7edffa7
We use the demo script from kolla ansible, init-runonce, to create resources in the control plane to make it ready for booting a VM. We then create a nova server, and wait for it to become active. We do not currently test that the VM boots successfully by accessing it via SSH. Change-Id: I61be554366565decd9f4ff7805a3969aa37da4b9
16 lines
456 B
YAML
16 lines
456 B
YAML
---
|
|
- hosts: primary
|
|
vars:
|
|
kayobe_src_dir: "{{ zuul.project.src_dir }}"
|
|
logs_dir: "/tmp/logs"
|
|
tasks:
|
|
- name: Ensure overcloud is deployed
|
|
shell:
|
|
cmd: dev/overcloud-deploy.sh > {{ logs_dir }}/ansible/overcloud-deploy
|
|
chdir: "{{ kayobe_src_dir }}"
|
|
|
|
- name: Perform testing of the overcloud
|
|
shell:
|
|
cmd: dev/overcloud-test.sh > {{ logs_dir }}/ansible/overcloud-test
|
|
chdir: "{{ kayobe_src_dir }}"
|