Hello
The following curl from the host to the provision servers works fine:
`
curl -X POST --header “Content-Type: application/json” -d @file.json http://public-ip/api
`
Trying to use uri module for the same, I used:
`
- local_action: uri url=http://public-ip/api method=POST body=“{{ lookup(‘file’,‘file.json’) }}” HEADER_Content-Type=“application/json”
sudo: false
`
Only to get
`
msg: this module requires key=value arguments
`
Any idea whats going on here?
Thanks