the jmespath has to be updated to: when: - "(ansible_local | default({})) | json_query('type(openstack_ansible.repo_build.need_wheel_build)') == 'null'"
the jmespath has to be updated to: 'type(openstack _ansible. repo_build. need_wheel_ build)' ) == 'null'"
when:
- "(ansible_local | default({})) | json_query(