diff --git a/multi_select_setup.yml b/multi_select_setup.yml new file mode 100644 index 000000000..8958b100f --- /dev/null +++ b/multi_select_setup.yml @@ -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"