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]
> <mailto:[email protected]>.
> 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/bd58b9ba-a1a7-05cc-6192-1565ceb5b60e%40linuxia.de.
signature.asc
Description: OpenPGP digital signature
