Hello,

I have the same error like with port int in my programme python 

The creation module Ansible in well in contexte "Ansible project" ... :/

Thanks you

Karther


Le mercredi 29 janvier 2020 14:42:57 UTC+1, Stefan Hornburg (Racke) a 
écrit :
>
> On 1/29/20 2:36 PM, Karther wrote: 
> > Hello, 
> > 
> > I have create this module mssql_query.py in ansible in 
> /library/mssql_query.py : 
> > 
> > 
> https://github.com/melmorabity/ansible-mssql-query/blob/master/mssql_query.py 
> > 
> > I have this error : 
> > 
> > The error was: TypeError: connect() got an unexpected keyword argument 
> 'port' 
> > 
> > when i execut this task : 
> > 
> > - local_action: 
> >         module: mssql_query 
> >         login_host: my_host 
> >         login_user: my_user 
> >         login_password: my_password 
> >         query: SELECT * FROM dbo.my_table_1 
> >         db: my_database 
> >         autocommit: True 
> >         as_dict: false 
> >     delegate_to: localhost 
> > 
> > Like without port: 1433 i have the same error.... 
> > 
> > I don't know why ? 
> > 
> > Can you help me please !! 
>
> This is now really off topic, but I suppose port should be an integer 
> instead of a string. 
>
> Regards 
>            Racke 
>
> > 
> > Best Regards, 
> > 
> > Karther 
> > 
> > 
> > 
> > -- 
> > 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 
> > [email protected] <javascript:> <mailto:
> [email protected] <javascript:>>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/ansible-project/2e57a3d2-2f16-49b7-9799-aa7e7667f192%40googlegroups.com
>  
> > <
> https://groups.google.com/d/msgid/ansible-project/2e57a3d2-2f16-49b7-9799-aa7e7667f192%40googlegroups.com?utm_medium=email&utm_source=footer>.
>  
>
>
>
> -- 
> Ecommerce and Linux consulting + Perl and web application programming. 
> Debian and Sympa administration. Provisioning with Ansible. 
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/59900512-11d3-4bee-b47c-c89a3397c3d5%40googlegroups.com.

Reply via email to