Hello,
I have one script python script.py with this content :
*#!/usr/bin/python*
*import pymssql*
*conn = pymssql.connect(host="ihospisql02", user="sa_ofs",
password="#Adm!n0fS1", database="my_database")*
*cur = conn.cursor()*
*with open('real.sql') as f:*
* cur.execute(f.read().decode('utf-8'))*
* conn.commit()*
*cur.close()*
i want that when i execut this script in ansible, i have log error in file
or windows if there is error in this script ?
Can you help me please ?
Thanks very much guy !!
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/f6435c57-b9f1-4f7b-9a7d-4209cbac5f0f%40googlegroups.com.