Convert Curl Commands to Ansible code Online

Curl command

Examples: GET - POST - JSON - Basic Auth - Files - Form

Curl to Ansible Online

This tool helps you to generate Ansible code based on Curl Command. Copy and Paste Curl Command and Generate Ansible.

What can you do with Curl to Ansible Converter Online?

  • Curl to Ansible is very unique tool to convert curl command to http request of Ansible. The input provide by the user's curl command to generate Ansible Code.
  • This tool saves your time and helps to generate Ansible code with ease.
  • Curl to Ansible works well on Windows, MAC, Linux, Chrome, Firefox, Edge, and Safari.

what is Curl?

cURL is an open-source command line tool that downloads files from the web. It supports a variety of protocols, including HTTP, HTTPS, FTP, SFTP, TFTP, Gopher and others.

How do convert Curl to Ansible code? 

Step1: Paste and convert your Curl requests to Ansible code.
Step2: Copy Ansible Code

Convert Curl to Ansible Example

Curl
curl example.com
Ansible Code
-
  name: 'http://example.com'
  uri:
    url: 'http://example.com'
    method: GET
  register: result