On 15.04.2018 12:20, Bishwajit Samanta wrote:
TASK [database : Create Postgress User]
*************************************************************************************************
Sunday 15 April 2018 15:47:07 +0530 (0:00:01.552) 0:00:34.890
**********
An exception occurred during task execution. To see the full traceback,
use
-vvv. The error was: psycopg2.ProgrammingError: relation "products"
does
not exist
fatal: [192.168.56.121]: FAILED! => {"changed": false, "module_stderr":
"Traceback (most recent call last):\n File
\"/tmp/ansible_9cE3qn/ansible_module_postgresql_user.py\", line 846, in
<module>\n main()\n File
\"/tmp/ansible_9cE3qn/ansible_module_postgresql_user.py\", line 815, in
main\n changed = grant_privileges(cursor, user, privs) or changed\n
File \"/tmp/ansible_9cE3qn/ansible_module_postgresql_user.py\", line
602,
in grant_privileges\n grant_funcs[type_](cursor, user, name,
privileges)\n File
\"/tmp/ansible_9cE3qn/ansible_module_postgresql_user.py\", line 491, in
grant_table_privileges\n cursor.execute(query)\n File
\"/usr/lib/python2.7/dist-packages/psycopg2/extras.py\", line 120, in
execute\n return super(DictCursor, self).execute(query,
vars)\npsycopg2.ProgrammingError: relation \"products\" does not
exist\n\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}
To me is looks like psycopg2 is missing some feature so you probably
needs a new version of it.
--
Kai Stian Olstad
--
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 post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f2eab34a385e9a847b3429cf1b625b07%40olstad.com.
For more options, visit https://groups.google.com/d/optout.