# outputs to a multivalue with\_items list.

**URL:** <https://forum.ansible.com/t/outputs-to-a-multivalue-with-items-list/38678>\
**Category:** Ansible Project\
**Created:** [February 5, 2024, 5:26pm UTC](https://forum.ansible.com/t/outputs-to-a-multivalue-with-items-list/38678 "2024-02-05T17:26:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IP\_Freely](https://avatars.discourse-cdn.com/v4/letter/i/e19adc/32.png) [@IP\_Freely](https://forum.ansible.com/u/IP_Freely)\
**Post date:** [February 5, 2024, 5:26pm UTC](https://forum.ansible.com/t/outputs-to-a-multivalue-with-items-list/38678/1 "2024-02-05T17:26:35Z")

</div>

Hi Hope you can help me,

I have a step in a playbook that makes a uri call to the gihub api servers and returns all the info regarding all of our repo’s. I need to create a with\_items list with information from that json response to have 3 items per repo(for example) for the next part of the playbook. Does anybody know any great ideas on how to go about this?

**wanted with\_items list:**  
with\_items: - { name: REPO1, disabled: False, has\_wiki: **True** } - { name: REPO2, disabled: False, has\_wiki: True }

**Example json output from previous step:**

“json”: [  
{  
“allow\_forking”: true,  
“archive\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/{archive\_format}{/ref}](https://api.github.com/repos/ ********** /REPO1/%7Barchive_format%7D%7B/ref%7D)”,  
“archived”: false,  
“assignees\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/assignees{/user}](https://api.github.com/repos/ ********** /REPO1/assignees%7B/user%7D)”,  
“blobs\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/git/blobs{/sha}](https://api.github.com/repos/ ********** /REPO1/git/blobs%7B/sha%7D)”,  
“branches\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/branches{/branch}](https://api.github.com/repos/ ********** /REPO1/branches%7B/branch%7D)”,  
“clone\_url”: “[https://github.com/\*\*\*\*\*\*\*\*\*\*/REPO1.git](https://github.com/ ********** /REPO1.git)”,  
“collaborators\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/collaborators{/collaborator}](https://api.github.com/repos/ ********** /REPO1/collaborators%7B/collaborator%7D)”,  
“comments\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/comments{/number}](https://api.github.com/repos/ ********** /REPO1/comments%7B/number%7D)”,  
“commits\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/commits{/sha}](https://api.github.com/repos/ ********** /REPO1/commits%7B/sha%7D)”,  
“compare\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/compare/{base}](https://api.github.com/repos/ ********** /REPO1/compare/%7Bbase%7D)…{head}”,  
“contents\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/contents/{+path}](https://api.github.com/repos/ ********** /REPO1/contents/%7B+path%7D)”,  
“contributors\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/contributors](https://api.github.com/repos/ ********** /REPO1/contributors)”,  
“created\_at”: “2023-12-14T09:22:56Z”,  
“default\_branch”: “main”,  
“deployments\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/deployments](https://api.github.com/repos/ ********** /REPO1/deployments)”,  
“description”: “**“,  
“disabled”: false,  
“downloads\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/downloads](https://api.github.com/repos/ ********** /REPO1/downloads)”,  
“events\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/events](https://api.github.com/repos/ ********** /REPO1/events)”,  
“fork”: true,  
“forks”: 0,  
“forks\_count”: 0,  
“forks\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/forks](https://api.github.com/repos/ ********** /REPO1/forks)”,  
“full\_name”: “/REPO1",  
“git\_commits\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/git/commits{/sha}](https://api.github.com/repos/ ********** /REPO1/git/commits%7B/sha%7D)”,  
“git\_refs\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/git/refs{/sha}](https://api.github.com/repos/ ********** /REPO1/git/refs%7B/sha%7D)”,  
“git\_tags\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/git/tags{/sha}](https://api.github.com/repos/ ********** /REPO1/git/tags%7B/sha%7D)”,  
“git\_url”: "git://github.com//REPO1.git”,  
“has\_downloads”: true,  
“has\_issues”: true,  
“has\_pages”: false,  
“has\_projects”: true,  
“has\_wiki”: true,  
“homepage”: null,  
“hooks\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/hooks](https://api.github.com/repos/ ********** /REPO1/hooks)”,  
“html\_url”: “[https://github.com/\*\*\*\*\*\*\*\*\*\*/REPO1](https://github.com/ ********** /REPO1)”,  
“id”: _,  
“issue\_comment\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/issues/comments{/number}](https://api.github.com/repos/ ********** /REPO1/issues/comments%7B/number%7D)”,  
“issue\_events\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/issues/events{/number}](https://api.github.com/repos/ ********** /REPO1/issues/events%7B/number%7D)”,  
“issues\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/issues{/number}](https://api.github.com/repos/ ********** /REPO1/issues%7B/number%7D)”,  
“keys\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/keys{/key\_id}](https://api.github.com/repos/ ********** /REPO1/keys%7B/key_id%7D)”,  
“labels\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/labels{/name}](https://api.github.com/repos/ ********** /REPO1/labels%7B/name%7D)”,  
“language”: “Python”,  
“languages\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/languages](https://api.github.com/repos/ ********** /REPO1/languages)”,  
“license”: null,  
“merges\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/merges](https://api.github.com/repos/ ********** /REPO1/merges)”,  
“milestones\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/milestones{/number}](https://api.github.com/repos/ ********** /REPO1/milestones%7B/number%7D)”,  
“mirror\_url”: null,  
“name”: “REPO1”,  
“node\_id”: "_”,  
“notifications\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/notifications{?since,all,participating}](https://api.github.com/repos/ ********** /REPO1/notifications%7B?since,all,participating%7D)”,  
“open\_issues”: 0,  
“open\_issues\_count”: 0,  
“owner”: {  
“avatar\_url”: “[https://avatars.githubusercontent.com/u/200000?v=4](https://avatars.githubusercontent.com/u/200000?v=4)”,  
“events\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/events{/privacy}](https://api.github.com/users/ ********** /events%7B/privacy%7D)”,  
“followers\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/followers](https://api.github.com/users/ ********** /followers)”,  
“following\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/following{/other\_user}](https://api.github.com/users/ ********** /following%7B/other_user%7D)”,  
“gists\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/gists{/gist\_id}](https://api.github.com/users/ ********** /gists%7B/gist_id%7D)”,  
“gravatar\_id”: “”,  
“html\_url”: “[https://github.com/](https://github.com/)",  
“id”: 200000,  
“login”: "”,  
“node\_id”: "",  
“organizations\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/orgs](https://api.github.com/users/ ********** /orgs)”,  
“received\_events\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/received\_events](https://api.github.com/users/ ********** /received_events)”,  
“repos\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/repos](https://api.github.com/users/ ********** /repos)”,  
“site\_admin”: false,  
“starred\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/starred{/owner}{/repo}](https://api.github.com/users/ ********** /starred%7B/owner%7D%7B/repo%7D)”,  
“subscriptions\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/subscriptions](https://api.github.com/users/ ********** /subscriptions)”,  
“type”: “Organization”,  
“url”: “[https://api.github.com/users/](https://api.github.com/users/)"  
},  
“permissions”: {  
“admin”: false,  
“maintain”: false,  
“pull”: true,  
“push”: false,  
“triage”: false  
},  
“private”: true,  
“pulls\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/pulls{/number}](https://api.github.com/repos/ ********** /REPO1/pulls%7B/number%7D)”,  
“pushed\_at”: “2024-01-09T10:02:27Z”,  
“releases\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/releases{/id}](https://api.github.com/repos/ ********** /REPO1/releases%7B/id%7D)”,  
“role\_name”: “read”,  
“size”: 1030,  
“ssh\_url”: "[git@github.com](mailto:git@github.com):/REPO1.git”,  
“stargazers\_count”: 0,  
“stargazers\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/stargazers](https://api.github.com/repos/ ********** /REPO1/stargazers)”,  
“statuses\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/statuses/{sha}](https://api.github.com/repos/ ********** /REPO1/statuses/%7Bsha%7D)”,  
“subscribers\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/subscribers](https://api.github.com/repos/ ********** /REPO1/subscribers)”,  
“subscription\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/subscription](https://api.github.com/repos/ ********** /REPO1/subscription)”,  
“svn\_url”: “[https://github.com/\*\*\*\*\*\*\*\*\*\*/REPO1](https://github.com/ ********** /REPO1)”,  
“tags\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/tags](https://api.github.com/repos/ ********** /REPO1/tags)”,  
“teams\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/teams](https://api.github.com/repos/ ********** /REPO1/teams)”,  
“topics”: [  
“topic1”,  
“topic2”,  
],  
“trees\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1/git/trees{/sha}](https://api.github.com/repos/ ********** /REPO1/git/trees%7B/sha%7D)”,  
“updated\_at”: “2024-02-02T11:37:53Z”,  
“url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO1](https://api.github.com/repos/ ********** /REPO1)”,  
“visibility”: “private”,  
“watchers”: 0,  
“watchers\_count”: 0  
},  
{  
“allow\_forking”: true,  
“archive\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/{archive\_format}{/ref}](https://api.github.com/repos/ ********** /REPO2/%7Barchive_format%7D%7B/ref%7D)”,  
“archived”: true,  
“assignees\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/assignees{/user}](https://api.github.com/repos/ ********** /REPO2/assignees%7B/user%7D)”,  
“blobs\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/git/blobs{/sha}](https://api.github.com/repos/ ********** /REPO2/git/blobs%7B/sha%7D)”,  
“branches\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/branches{/branch}](https://api.github.com/repos/ ********** /REPO2/branches%7B/branch%7D)”,  
“clone\_url”: “[https://github.com/\*\*\*\*\*\*\*\*\*\*/REPO2.git](https://github.com/ ********** /REPO2.git)”,  
“collaborators\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/collaborators{/collaborator}](https://api.github.com/repos/ ********** /REPO2/collaborators%7B/collaborator%7D)”,  
“comments\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/comments{/number}](https://api.github.com/repos/ ********** /REPO2/comments%7B/number%7D)”,  
“commits\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/commits{/sha}](https://api.github.com/repos/ ********** /REPO2/commits%7B/sha%7D)”,  
“compare\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/compare/{base}](https://api.github.com/repos/ ********** /REPO2/compare/%7Bbase%7D)…{head}”,  
“contents\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/contents/{+path}](https://api.github.com/repos/ ********** /REPO2/contents/%7B+path%7D)”,  
“contributors\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/contributors](https://api.github.com/repos/ ********** /REPO2/contributors)”,  
“created\_at”: “2023-06-15T11:42:52Z”,  
“default\_branch”: “main”,  
“deployments\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/deployments](https://api.github.com/repos/ ********** /REPO2/deployments)”,  
“description”: "example repo structure for ds experience ~\> ds solutions ",  
“disabled”: false,  
“downloads\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/downloads](https://api.github.com/repos/ ********** /REPO2/downloads)”,  
“events\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/events](https://api.github.com/repos/ ********** /REPO2/events)”,  
“fork”: true,  
“forks”: 0,  
“forks\_count”: 0,  
“forks\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/forks](https://api.github.com/repos/ ********** /REPO2/forks)”,  
“full\_name”: “/REPO2",  
“git\_commits\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/git/commits{/sha}](https://api.github.com/repos/ ********** /REPO2/git/commits%7B/sha%7D)”,  
“git\_refs\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/git/refs{/sha}](https://api.github.com/repos/ ********** /REPO2/git/refs%7B/sha%7D)”,  
“git\_tags\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/git/tags{/sha}](https://api.github.com/repos/ ********** /REPO2/git/tags%7B/sha%7D)”,  
“git\_url”: "git://github.com//REPO2.git”,  
“has\_downloads”: true,  
“has\_issues”: false,  
“has\_pages”: false,  
“has\_projects”: true,  
“has\_wiki”: true,  
“homepage”: null,  
“hooks\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/hooks](https://api.github.com/repos/ ********** /REPO2/hooks)”,  
“html\_url”: “[https://github.com/\*\*\*\*\*\*\*\*\*\*/REPO2](https://github.com/ ********** /REPO2)”,  
“id”: 200000000,  
“issue\_comment\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/issues/comments{/number}](https://api.github.com/repos/ ********** /REPO2/issues/comments%7B/number%7D)”,  
“issue\_events\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/issues/events{/number}](https://api.github.com/repos/ ********** /REPO2/issues/events%7B/number%7D)”,  
“issues\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/issues{/number}](https://api.github.com/repos/ ********** /REPO2/issues%7B/number%7D)”,  
“keys\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/keys{/key\_id}](https://api.github.com/repos/ ********** /REPO2/keys%7B/key_id%7D)”,  
“labels\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/labels{/name}](https://api.github.com/repos/ ********** /REPO2/labels%7B/name%7D)”,  
“language”: null,  
“languages\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/languages](https://api.github.com/repos/ ********** /REPO2/languages)”,  
“license”: null,  
“merges\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/merges](https://api.github.com/repos/ ********** /REPO2/merges)”,  
“milestones\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/milestones{/number}](https://api.github.com/repos/ ********** /REPO2/milestones%7B/number%7D)”,  
“mirror\_url”: null,  
“name”: “REPO2”,  
“node\_id”: "",  
“notifications\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/notifications{?since,all,participating}](https://api.github.com/repos/ ********** /REPO2/notifications%7B?since,all,participating%7D)”,  
“open\_issues”: 0,  
“open\_issues\_count”: 0,  
“owner”: {  
“avatar\_url”: “[https://avatars.githubusercontent.com/u/200000?v=4](https://avatars.githubusercontent.com/u/200000?v=4)”,  
“events\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/events{/privacy}](https://api.github.com/users/ ********** /events%7B/privacy%7D)”,  
“followers\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/followers](https://api.github.com/users/ ********** /followers)”,  
“following\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/following{/other\_user}](https://api.github.com/users/ ********** /following%7B/other_user%7D)”,  
“gists\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/gists{/gist\_id}](https://api.github.com/users/ ********** /gists%7B/gist_id%7D)”,  
“gravatar\_id”: “”,  
“html\_url”: “[https://github.com/](https://github.com/)",  
“id”: 200000,  
“login”: "”,  
“node\_id”: "**\*\*\*\*\*\*\*”,  
“organizations\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/orgs](https://api.github.com/users/ ********** /orgs)”,  
“received\_events\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/received\_events](https://api.github.com/users/ ********** /received_events)”,  
“repos\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/repos](https://api.github.com/users/ ********** /repos)”,  
“site\_admin”: false,  
“starred\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/starred{/owner}{/repo}](https://api.github.com/users/ ********** /starred%7B/owner%7D%7B/repo%7D)”,  
“subscriptions\_url”: “[https://api.github.com/users/\*\*\*\*\*\*\*\*\*\*/subscriptions](https://api.github.com/users/ ********** /subscriptions)”,  
“type”: “Organization”,  
“url”: “[https://api.github.com/users/](https://api.github.com/users/)**"  
},  
“permissions”: {  
“admin”: false,  
“maintain”: false,  
“pull”: true,  
“push”: false,  
“triage”: false  
},  
“private”: true,  
“pulls\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/pulls{/number}](https://api.github.com/repos/ ********** /REPO2/pulls%7B/number%7D)”,  
“pushed\_at”: “2023-06-08T15:48:53Z”,  
“releases\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/releases{/id}](https://api.github.com/repos/ ********** /REPO2/releases%7B/id%7D)”,  
“role\_name”: “read”,  
“size”: 792,  
“ssh\_url”: "[git@github.com](mailto:git@github.com):**/REPO2.git”,  
“stargazers\_count”: 0,  
“stargazers\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/stargazers](https://api.github.com/repos/ ********** /REPO2/stargazers)”,  
“statuses\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/statuses/{sha}](https://api.github.com/repos/ ********** /REPO2/statuses/%7Bsha%7D)”,  
“subscribers\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/subscribers](https://api.github.com/repos/ ********** /REPO2/subscribers)”,  
“subscription\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/subscription](https://api.github.com/repos/ ********** /REPO2/subscription)”,  
“svn\_url”: “[https://github.com/\*\*\*\*\*\*\*\*\*\*/REPO2](https://github.com/ ********** /REPO2)”,  
“tags\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/tags](https://api.github.com/repos/ ********** /REPO2/tags)”,  
“teams\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/teams](https://api.github.com/repos/ ********** /REPO2/teams)”,  
“topics”: ,  
“trees\_url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2/git/trees{/sha}](https://api.github.com/repos/ ********** /REPO2/git/trees%7B/sha%7D)”,  
“updated\_at”: “2023-06-19T09:54:14Z”,  
“url”: “[https://api.github.com/repos/\*\*\*\*\*\*\*\*\*\*/REPO2](https://api.github.com/repos/ ********** /REPO2)”,  
“visibility”: “private”,  
“watchers”: 0,  
“watchers\_count”: 0  
},

---

<div class="post-metadata">

**Author:** ![Walter\_Rowe](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/walter_rowe/32/4506_2.png) [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Post date:** [February 5, 2024, 6:09pm UTC](https://forum.ansible.com/t/outputs-to-a-multivalue-with-items-list/38678/2 "2024-02-05T18:09:04Z")

</div>

[https://docs.ansible.com/ansible/latest/playbook\_guide/playbooks\_loops.html#with-items](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_loops.html#with-items)

with\_items is replaced by “loop” and simply iterates over a list. In the task you can reference any of the dictionary elements of the specific list entry.

debug:  
msg: “{{ item.name }} - {{ item.disabled }} - {{ item.has\_wiki }}”  
loop: “{{ json }}”

Walter
