-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup multiple (selectable) demos (#102)
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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([])) | ||
Check warning on line 12 in multi_select_setup.yml GitHub Actions / Ansible Lintjinja[spacing]
|
||
+ [launch_jobs | combine( {'extra_vars': { 'demo': item }})] }}" | ||
loop: "{{ demos }}" | ||
|
||
- name: Default Components | ||
ansible.builtin.include_role: | ||
name: "redhat_cop.controller_configuration.job_launch" |