Azure: no action detected in task

I installed the Azure Python SDK 2.0.0rc5 using pip and ansible 2.0.0.2 using apt on a Ubuntu 16.04 machine. I also created a Azure AD service principle and added the information to ~/.azure/credentials. When I try to run a playbook that uses one of the Azure rm module I always get the same error.

For example when I run the following playbook :

On top of the documentation
https://docs.ansible.com/ansible/azure_rm_virtualnetwork_facts_module.html
it says "New in version 2.1."

But you are using Ansible 2.0.