{"action":"created","issue":{"url":"https://api.github.com/repos/networktocode/ntc-ansible/issues/108","repository_url":"https://api.github.com/repos/networktocode/ntc-ansible","labels_url":"https://api.github.com/repos/networktocode/ntc-ansible/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/networktocode/ntc-ansible/issues/108/comments","events_url":"https://api.github.com/repos/networktocode/ntc-ansible/issues/108/events","html_url":"https://github.com/networktocode/ntc-ansible/issues/108","id":134439507,"number":108,"title":"Question:  How to retrieve ansible results?","user":{"login":"pixelrebel","id":6970087,"avatar_url":"https://avatars.githubusercontent.com/u/6970087?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelrebel","html_url":"https://github.com/pixelrebel","followers_url":"https://api.github.com/users/pixelrebel/followers","following_url":"https://api.github.com/users/pixelrebel/following{/other_user}","gists_url":"https://api.github.com/users/pixelrebel/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelrebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelrebel/subscriptions","organizations_url":"https://api.github.com/users/pixelrebel/orgs","repos_url":"https://api.github.com/users/pixelrebel/repos","events_url":"https://api.github.com/users/pixelrebel/events{/privacy}","received_events_url":"https://api.github.com/users/pixelrebel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-18T00:08:02Z","updated_at":"2016-02-18T00:57:35Z","closed_at":null,"body":"What's the best approach for handling the results of say a `show arp` command?  The ansible playbook returns a list of dicts containing items like `ip`, `mac`, `port`, etc.  How do I pipe that result into another script?\r\n\r\nThe ansible community seems to have two approaches that are not ideal.  Pass the object to a debug task and parse the output of that task.  Or, dump the object as json into a text file.  Are these really the only options available? Anyone have any luck using the python API?"},"comment":{"url":"https://api.github.com/repos/networktocode/ntc-ansible/issues/comments/185484682","html_url":"https://github.com/networktocode/ntc-ansible/issues/108#issuecomment-185484682","issue_url":"https://api.github.com/repos/networktocode/ntc-ansible/issues/108","id":185484682,"user":{"login":"jedelman8","id":6332586,"avatar_url":"https://avatars.githubusercontent.com/u/6332586?v=3","gravatar_id":"","url":"https://api.github.com/users/jedelman8","html_url":"https://github.com/jedelman8","followers_url":"https://api.github.com/users/jedelman8/followers","following_url":"https://api.github.com/users/jedelman8/following{/other_user}","gists_url":"https://api.github.com/users/jedelman8/gists{/gist_id}","starred_url":"https://api.github.com/users/jedelman8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedelman8/subscriptions","organizations_url":"https://api.github.com/users/jedelman8/orgs","repos_url":"https://api.github.com/users/jedelman8/repos","events_url":"https://api.github.com/users/jedelman8/events{/privacy}","received_events_url":"https://api.github.com/users/jedelman8/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T00:57:35Z","updated_at":"2016-02-18T00:57:35Z","body":"Side note, I'd love a demo of this :)  Haven't spent time with StackStorm."}}