title: Ansible error: "The Python 2 bindings for rpm are needed for this module"
body: <p>Im trying to pip install a requirements file in my python3 environment using the following task</p>
  
  <pre><code>pip:
    python3: yes
    requirements: ./requirements/my_requirements.txt
    extra_args: -i http://mypypi/windows/simple
  </code></pre>
  
  <p>I checked which version ansible is running  on the controller node (RH7) and it's 3.6.8</p>
  
  <pre><code>ansible-playbook 2.9.9
    config file = None
    configured module search path = ['/home/{hidden}/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
    ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
    executable location = /usr/local/bin/ansible-playbook
    python version = 3.6.8 (default, Jun 11 2019, 15:15:01) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
  No config file found; using defaults
  </code></pre>
  
  <p>I am however getting the following error:</p>
  
  <pre><code>fatal: [default]: FAILED! =&gt; {"changed": false, "msg": "The Python 2 bindings for rpm are needed for this module. If you require Python 3 support use the `dnf` Ansible module
  instead.. The Python 2 yum module is needed for this module. If you require Python 3 support use the `dnf` Ansible module instead."}
  </code></pre>
  
  <p>My controller node is running RH7.
  The targets are centos7 (provisioned by vagrantfiles)</p>
  
  <p>Does anyonek now how to solve this?</p>