
This change adds a local CLI ./bifrost-cli that allows to easily run bifrost playbooks. It is targeting early adopters and thus is opinionated and does not expose all possible options. Only the very minimum is provided in this patch. More options will be added later as we decide they are important. Documentation will also be provided later as it's going to be quite large. This feature should be considered technical preview at this point until we give it more testing. Change-Id: I2205e759431024124518716eccd07f79bda14f3a
16 lines
852 B
YAML
16 lines
852 B
YAML
- hosts: all
|
|
tasks:
|
|
- shell:
|
|
cmd: bash scripts/test-bifrost.sh
|
|
chdir: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/bifrost'].src_dir }}"
|
|
environment:
|
|
BUILD_IMAGE: "{{ build_image | default(false) | bool | lower }}"
|
|
CLI_TEST: "{{ cli_test | default(false) | bool | lower }}"
|
|
ENABLE_KEYSTONE: "{{ enable_keystone | default(false) | bool | lower }}"
|
|
LOG_LOCATION: "{{ ansible_user_dir }}/logs"
|
|
UPPER_CONSTRAINTS_FILE: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
|
|
WORKSPACE: "{{ ansible_user_dir }}/src/opendev.org"
|
|
USE_DHCP: "{{ use_dhcp | default(false) | bool | lower }}"
|
|
ENABLE_VENV: "{{ use_venv | default(true) | bool | lower }}"
|
|
ZUUL_BRANCH: "{{ zuul.branch }}"
|