Setup multiple (selectable) demos (#102)
This commit is contained in:
committed by
GitHub
parent
2ee334f6b3
commit
5f8bd8929e
18
multi_select_setup.yml
Normal file
18
multi_select_setup.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
- name: Setup multiple just more than one demo
|
||||||
|
hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
vars:
|
||||||
|
launch_jobs:
|
||||||
|
name: "SETUP"
|
||||||
|
wait: true
|
||||||
|
tasks:
|
||||||
|
- name: Build controller launch jobs
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
controller_launch_jobs: "{{ (controller_launch_jobs | d([]))
|
||||||
|
+ [launch_jobs | combine( {'extra_vars': { 'demo': item }})] }}"
|
||||||
|
loop: "{{ demos }}"
|
||||||
|
|
||||||
|
- name: Default Components
|
||||||
|
ansible.builtin.include_role:
|
||||||
|
name: "redhat_cop.controller_configuration.job_launch"
|
||||||
Reference in New Issue
Block a user