Bootstrap FreeKB - Ansible - curl module
Ansible - curl module

Updated:   |  Ansible articles

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.


Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee


Add a Comment

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