title: ansible yum not working
body: <p>when i run command on the ops machine:</p>
  
  <pre><code>ansible web -b -l 192.168.31.101 -m yum -a "name=gcc state=latest"
  </code></pre>
  
  <p>it returns error shows below:</p>
  
  <pre><code>192.168.31.101 | FAILED! =&gt; {
      "changed": false,
      "failed": true,
      "msg": "python2 bindings for rpm are needed for this module. python2 yum module is needed for this  module" 
  }
  </code></pre>
  
  <p>but when i execute the command <code>sudo yum install gcc</code> directly on <code>192.168.31.101</code>, executed properly.</p>
  
  <p>it seems like ansible can't use the right yum and python</p>