Mark Goddard 7a99b88ebc CI: add Ubuntu seed VM job
* Need to specify bash for &> syntax

Story: 2004960
Task: 41806

Change-Id: Ic33d3e31096f7b0cec2e4e9284f5c1078a4ff04c
2021-03-01 17:59:31 +00:00

18 lines
615 B
YAML

---
- hosts: primary
environment:
KAYOBE_CONFIG_SOURCE_PATH: "{{ kayobe_config_src_dir }}"
# The CirrOS image does not support much beyond logging in.
KAYOBE_SEED_HOST_CONFIGURE: 0
KAYOBE_SEED_SERVICE_DEPLOY: 0
tasks:
- name: Ensure seed hypervisor is deployed
shell:
cmd: "{{ kayobe_src_dir }}/dev/seed-hypervisor-deploy.sh > {{ logs_dir }}/ansible/seed-hypervisor-deploy"
executable: /bin/bash
- name: Ensure seed is deployed
shell:
cmd: "{{ kayobe_src_dir }}/dev/seed-deploy.sh &> {{ logs_dir }}/ansible/seed-deploy"
executable: /bin/bash