title: Ansible complains about "The MySQL-python module is required"
body: <p>I have <strong>Ansible 2.6.1</strong> installed in my local machine (WSL; Ubuntu):</p>
  
  <pre><code>ansible 2.6.1
    config file = /etc/ansible/ansible.cfg
    configured module search path = [u'/home/user/.ansible/plugins/modules', u'/usr/share/ansile/plugins/modules']
    ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
    executable location = /usr/local/bin/ansible
    python version = 2.7.12 (default, Dec  4 2017, 14:50:18) [GCC 5.4.0 20160609]
  </code></pre>
  
  <p>My target machine is running <strong>Ubuntu 16.04-LTS</strong>.</p>
  
  <p>I'm using this task to install python3-mysqldb:</p>
  
  <pre><code> - name: "Debian | Install Mysql Client package"
     apt:
       name: "{{ item }}"
       state: present
     with_items:
       - mysql-client
       - python3-dev
       - libmysqlclient-dev
       - python3-mysqldb
     when:
       - zabbix_server_database == 'mysql'
     tags:
       - zabbix-server
       - init
       - database
  </code></pre>
  
  <p>It fails in this task:</p>
  
  <pre><code>- name: "MySQL | Create database and import file &gt;= 3.0"
    mysql_db:
      name: "{{ zabbix_server_dbname }}"
      encoding: "{{ zabbix_server_dbencoding }}"
      collation: "{{ zabbix_server_dbcollation }}"
      state: import
      target: "{{ ls_output_create.stdout }}"
    when:
      - zabbix_version is version_compare('3.0', '&gt;=')
      - zabbix_database_sqlload
      - not done_file.stat.exists
    delegate_to: "{{ delegated_dbhost }}"
    tags:
      - zabbix-server
      - database
  </code></pre>
  
  <p>Here's the fail message:</p>
  
  <pre><code>fatal: [target_host -&gt; target_host-db]: FAILED! =&gt; {"changed": false, "msg": "The MySQL-python module is required."}
  </code></pre>
  
  <p>I can confirm python3-mysqldb was indeed installed:</p>
  
  <pre><code>/.                                                                             
  /usr                                                                           
  /usr/share                                                                     
  /usr/share/doc                                                                 
  /usr/share/doc/python3-mysqldb                                                 
  /usr/share/doc/python3-mysqldb/changelog.Debian.gz                             
  /usr/share/doc/python3-mysqldb/copyright                                       
  /usr/lib                                                                       
  /usr/lib/python3                                                               
  /usr/lib/python3/dist-packages                                                 
  /usr/lib/python3/dist-packages/mysqlclient-1.3.7.egg-info                      
  /usr/lib/python3/dist-packages/mysqlclient-1.3.7.egg-info/top_level.txt        
  /usr/lib/python3/dist-packages/mysqlclient-1.3.7.egg-info/PKG-INFO             
  /usr/lib/python3/dist-packages/mysqlclient-1.3.7.egg-info/dependency_links.txt 
  /usr/lib/python3/dist-packages/_mysql_exceptions.py                            
  /usr/lib/python3/dist-packages/_mysql.cpython-35m-x86_64-linux-gnu.so          
  /usr/lib/python3/dist-packages/MySQLdb                                         
  /usr/lib/python3/dist-packages/MySQLdb/connections.py                          
  /usr/lib/python3/dist-packages/MySQLdb/release.py                              
  /usr/lib/python3/dist-packages/MySQLdb/cursors.py                              
  /usr/lib/python3/dist-packages/MySQLdb/constants                               
  /usr/lib/python3/dist-packages/MySQLdb/constants/ER.py                         
  /usr/lib/python3/dist-packages/MySQLdb/constants/CLIENT.py                     
  /usr/lib/python3/dist-packages/MySQLdb/constants/REFRESH.py                    
  /usr/lib/python3/dist-packages/MySQLdb/constants/FIELD_TYPE.py                 
  /usr/lib/python3/dist-packages/MySQLdb/constants/FLAG.py                       
  /usr/lib/python3/dist-packages/MySQLdb/constants/__init__.py                   
  /usr/lib/python3/dist-packages/MySQLdb/constants/CR.py                         
  /usr/lib/python3/dist-packages/MySQLdb/converters.py                           
  /usr/lib/python3/dist-packages/MySQLdb/compat.py                               
  /usr/lib/python3/dist-packages/MySQLdb/__init__.py                             
  /usr/lib/python3/dist-packages/MySQLdb/times.py    
  </code></pre>
  
  <p>I also tried installing the python package <strong>MySQL-python</strong> using pip but I also got the same error message.</p>
  
  <p>I'm stumped. I don't know what to do anymore.</p>
  
  <p><strong>EDIT:</strong> I also tried installing Python 2.7.x on the target machine and made sure that /usr/bin/python is symlinked to Python 2.7.x but I'm still getting the same error. I'm using DJ Wasabi's <a href="https://github.com/dj-wasabi/ansible-zabbix-server" rel="nofollow noreferrer">zabbix-server</a> role</p>