Ansible - curl module

Ansible does not contain a curl module. If you were to use the shellcommand, or script module to issue a curl command, the following warning would be displayed. As this warning suggests, the get_url module can be used to download files from a remote system.

[WARNING]: Consider using the get_url or uri module rather than running 'curl'.  If you need to use command because get_url or uri is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in
ansible.cfg to get rid of this message.


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 494a8 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |