blob: 6c9c357f57ff4e664d4902206e9f10ddfbd9bdc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
- hosts: all
tasks:
- name: Ensure artifacts/images directory exists
file:
path: '{{ ansible_user_dir }}/images'
state: directory
- name: Get output image name
shell: kubeadm token create --print-join-command
register: join_command_raw
- name: Build Trove guest image
shell: >-
./trovestack build-image \
{{ datastore_type }} \
{{ guest_os }} \
{{ guest_os_release }} \
{{ dev_mode }} \
{{ guest_username }} \
{{ ansible_user_dir }}/images/trove-{{ branch }}-{{ datastore_type }}-{{ guest_os }}-{{ guest_os_release }}{{ image_suffix }}
args:
chdir: "{{ ansible_user_dir }}/src/opendev.org/openstack/trove/integration/scripts"
tags:
- skip_ansible_lint
|