Posted on 20th April 2024
In Ansible, we use the curl command to execute the commands from the Ansible Playbook. Example:
curl -X POST -d@mesos-consul.json -H "Content-Type: application/json" http://marathon.service.consul:8080/v2/apps
STILL GOT QUERIES?