--- - name: Install python if required ansible.builtin.include_tasks: python_312.yml when: ha_python_version == '3.12' - name: Include sub-tasks ansible.builtin.include_tasks: '{{ item }}' loop: - preparation.yml - postgres.yml