Unable to parse int value with_items in ansible

Hi

I have a playbook which enters a naptr record on infoblox and I am using uri module to do that everything is working but when I am trying to parse different vales to “order”: “{{ item.count_order }}” I am having error that

“failed”: true,
“msg”: “‘count_order’ is undefined”

And I am using

with_items:

  • “{{naptr_record_details[:count_order|int]}}”

can some one help me on this …!!!

Thank you so much in advance.

Regards,
Srikanth P