I'm running the bellow play 



 - name: Setup url 

      run_once: true

      community.general.mssql_script:

        login_user: "{{ mssql_login_user }}"

        login_password: "{{ mssql_login_password }}"

        login_host: "{{ mssql_host }}"

        login_port: "{{ mssql_port }}"

        db: MSSQLDB

        script: "SELECT 1"

      register: result_params


on remote host  - Python 3.6.8 ,  pymssql-2.2.7


I get the error bellow


fatal: [hostname]: FAILED! => {

    "ansible_facts": {

        "discovered_interpreter_python": "/usr/libexec/platform-python"

    },

    "changed": false,

    "module_stderr": "Shared connection to hostname closed.\r\n",

    "module_stdout": "/bin/sh: line 1: 3580297 Segmentation fault      
(core dumped) /usr/libexec/platform-python 
/home/svc/.ansible/tmp/ansible-tmp-1684217329.507804-55251-184388487997846/AnsiballZ_mssql_script.py\r\n",

    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",

    "rc": 139

}


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/426379ed-6f97-45c9-bc9e-d6104b484156n%40googlegroups.com.

Reply via email to