Hello Everyone,
Below is the output of the task
json:
      resourceIds:
      - 66523

and I'm trying to fetch the resourceIDs into the task like below.
RESOURCEID_LIST={{ resourceID.json.resourceIds }}

But the issue is when I'm running the playbook, it is automatically putting 
the value in bracket []
&RESOURCEID_LIST=[66523].

How can we input the value without putting in the bracket.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/42cc9fff-b3fe-4584-bb0f-bdd580647822n%40googlegroups.com.

Reply via email to