pip version of Ansible out of date. rax_dns_record Module

I tried to use the rax_dns_record module with the “overwrite” parameter and it tells me that: “unsupported parameter for module: overwrite”

If you take a look at the history of that module you can see that the feature has been added almost a year ago and is also in the documentation.

https://github.com/ansible/ansible-modules-core/commits/2f46c35f471b18f369c357016d0e430a65f8429b/cloud/rackspace/rax_dns_record.py

http://docs.ansible.com/ansible/rax_dns_record_module.html

But when I checked the source of my locally installed ansible it was missing from it. I tried pip install ansible --upgrade but It tells me that I have the latest version.

Am I doing something wrong or is the only solution to switch to the git version of ansible and work with that ?

The overwrite option was just recently added, and will not be included until the 2.1 release of ansible. The documentation was not updated correctly. I have just merged a docs fix that will now indicate that overwrite was added in 2.1.