Convert Json into YAML language

18 views
Skip to first unread message

GBANE FETIGUE

unread,
Jul 20, 2016, 10:01:50 PM7/20/16
to Ansible Project
I have trying to run the following Json; It seems to run fine but It supposed to run a result but I am not seeing nothing. Is anybody could tell me what's going on ?
Her is the Json :

curl --basic -u admin:admin -F file=@ms3-samples.zip -F name=ms3-samples -F version=2.0 --header "Content-Type: multipart/form-data" "http://52.73.56.141:8080/mmc-console-3.6.2/api/repository"
Is the playbook ; what am I supposed to return the curl (URI) result. Also is my YAML script ok ?
---
- uri:
   url="http://52.73.56.141:8080/mmc-console-3.6.2/api/repository"
   user=admin
   password=admin
   path=@ms3-samples.zip
   name=ms3-samples
   version=2.0
   Header_Content-Type=="multipart/form-data"
Reply all
Reply to author
Forward
0 new messages