--- - name: "Run ci/playbooks/test-base-job/run.yml" hosts: "{{ cifmw_zuul_target_host | default('all') }}" gather_facts: true tasks: - name: Filter out host if needed when: - cifmw_zuul_target_host is defined - cifmw_zuul_target_host != 'all' - inventory_hostname != cifmw_zuul_target_host ansible.builtin.meta: end_host - name: Run the test playbook nested environment: ANSIBLE_CONFIG: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/ci-framework/ansible.cfg" ansible.builtin.command: chdir: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/ci-framework" cmd: >- ansible-playbook ci/playbooks/test-base-job/nested-run.yml -i "{{ ansible_user_dir }}/ci-framework-data/artifacts/zuul_inventory.yml" -e @group_vars/all.yml {%- if cifmw_extras is defined %} {%- for extra_var in cifmw_extras %} -e "{{ extra_var }}" {%- endfor %} {%- endif %} -e "@{{ ansible_user_dir }}/ci-framework-data/artifacts/parameters/zuul-params.yml"