Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
For all of you who make API calls with Ansible URI module, this is what you need to do: - name: Login
uri:
url: "https://<IPADDRESS>/api/aaaLogin.json"
method: POST
headers:
Content-Type: application/json
...