Hi All,

I have a playbook, using REST API getting the details of a process in JSON 
format. I want to save that JSON o/p to a file in windows environment. Can 
any one please help me.


sample playbook:

---
- hosts: windows
  remote_user: admin
  tasks:
  - name: rest api
   win_uri:
     url: http://example.com
     method: GET

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d44fd63e-e87d-4fe0-a30f-a7dc835a3142%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to