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 !!

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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2e57a3d2-2f16-49b7-9799-aa7e7667f192%40googlegroups.com.

Reply via email to