Gap in understanding, functionality or documentation

Hullo

I’m guessing that it’s the first item :wink:

I’m downloading files using curl over a flakey link. Ansible doesn’t like curl and warns:
[WARNING]: Consider using get_url or uri module rather than running curl

However, to cope with the flakey link, I’m using the -C - flag with curl. I cannot see where either get_url or uri makes this functionality available.

Am I missing something or do I file a bug?

regards

tim

This warning is not a warning it should have been a INFO in my opinion.

Ansible has a list of command and when it sees those commands used in the command or the shell module is print this warning.
You can safely ignore it or set "warn: no" on the task and the warning message will disappear.

Sometimes the Ansible module lack some feature and you need to use command/shell module instead.