Hi all, I'm trying to create the correct commands for an Ansible playbook to create cluster user:
How can I translate this curl command in a correct ansible playbook syntax?
"curl -k -u <cluster_admin>:<password> -X POST "https://<mgmt-ip>/api/security/accounts" -d '{"name":"cluster_user1","applications":[{"application":"ssh","authentication_methods":["password"],"second_authentication_method":"none"},{"application":"http","authentication_methods":["password"]}],"role":"admin","password":"p@ssw@rd123"}'"
Thank you for your help.
Regards,
Patrick