22 lines
642 B
YAML
22 lines
642 B
YAML
---
|
|
|
|
- name: combine DevStack projects
|
|
set_fact:
|
|
devstack_projects_combined: >-
|
|
{{ [devstack_projects_base, devstack_projects] |
|
|
combine(recursive=True) }}
|
|
|
|
|
|
- name: show resulting DevStack projects
|
|
debug: var=devstack_projects_combined
|
|
|
|
|
|
- name: deploy projects
|
|
include_tasks: deploy-project.yaml
|
|
with_dict: '{{ devstack_projects_combined }}'
|
|
vars:
|
|
project_dest_dir: '{{ devstack_dest_dir }}/{{ item.key }}'
|
|
project_src_dir: '{{ item.value.src_dir | default("") }}'
|
|
project_git_repo: '{{ item.value.git_repo | default("") }}'
|
|
project_git_version: '{{ item.value.git_version | default("HEAD") }}'
|