You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: create a test database useraction: postgresql_user user=vagrant password=password db=vagrant_ansible_tutorial priv=CONNECT/user:ALL
results in the following error:
fatal: [127.0.0.1] => failed to parse: Traceback (most recent call last):
File "/tmp/ansible-1346283843.64-175065525346012/postgresql_user", line 520, in <module>
main()
File "/tmp/ansible-1346283843.64-175065525346012/postgresql_user", line 270, in main
changed = grant_privileges(cursor, user, privs) or changed
File "/tmp/ansible-1346283843.64-175065525346012/postgresql_user", line 174, in grant_privileges
changed = grant_func(cursor, user, name, privilege)\
File "/tmp/ansible-1346283843.64-175065525346012/postgresql_user", line 97, in grant_table_privilege
cursor.execute(query)
psycopg2.ProgrammingError: syntax error at or near "user"
LINE 1: GRANT ALL ON TABLE user TO vagrant
The text was updated successfully, but these errors were encountered:
The following action:
results in the following error:
The text was updated successfully, but these errors were encountered: