The module is required where the task is being run, which is likely the
remote host.

"There is no exception."

Yep, this is what I'd expect too! that means we are catching the error and
presenting you a human readable warning instead of a traceback.




On Fri, Jan 3, 2014 at 2:45 AM, nORKy <joff...@gmail.com> wrote:

> I installed. Look my import exemple. There is no exception.
> I said 'target' host but I installed on the 'server' host too.
>
> Le jeudi 2 janvier 2014 22:49:08 UTC+1, Michael DeHaan a écrit :
>>
>> The problem is that you need to install the python mysqldb module to use
>> the Ansible module.
>>
>> You can install this using OS packages (preferred) or pip.
>>
>>
>>
>>
>> On Thu, Jan 2, 2014 at 8:56 AM, nORKy <jof...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I have a problem with ansible 1.4.1 and 1.4.3.
>>>
>>> When I start my playbook with a MySQL_db task, it says:
>>>
>>>> the python mysqldb module is required
>>>
>>>
>>>
>>> But, in the target host, the module is present :
>>>
>>> $ python
>>> Python 2.7.6 (default, Jan  2 2014, 13:21:14)
>>> [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import MySQLdb
>>> >>>
>>>
>>> The target host is a FreeBSD-9.2-RELEASE
>>>
>>> What is the problem ? thanks you
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to ansible-proje...@googlegroups.com.
>>> To post to this group, send email to ansible...@googlegroups.com.
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> Michael DeHaan <mic...@ansibleworks.com>
>>
>> CTO, AnsibleWorks, Inc.
>> http://www.ansibleworks.com/
>>
>>   --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Michael DeHaan <mich...@ansibleworks.com>
CTO, AnsibleWorks, Inc.
http://www.ansibleworks.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to