I have a json file in the same directory where my ansible script is. Following is the content of json file:
{ \"resources\":[ {\"name\":\"package1\",
for future visitors , if you are looking for a remote json file read. this won't work as ansible lookups are executed in the local
you should use a module like Slurp