ansible 1.6.6 This stanza in my playbook:
- name: Create database user postgresql_user: name={{rc_db_user}} password={{rc_db_pass}} role_attr_flags=NOSUPERUSER,NOCREATEROLE,NOCREATEUSER,NOCREATEDB login_user={{pg_user}} login_password={{pg_pass}} Results in: TASK: [Create database user] ************************************************** failed: [jedis-test] => {"failed": true, "parsed": false} invalid output was: SUDO-SUCCESS-cgtcsjketcpyopmfjrlmiidxvqxogoai Traceback (most recent call last): File "/home/joliver/.ansible/tmp/ansible-tmp-1406221646.88-85343250424775/postgresql_user", line 1743, in <module> main() File "/home/joliver/.ansible/tmp/ansible-tmp-1406221646.88-85343250424775/postgresql_user", line 499, in main changed = user_add(cursor, user, password, role_attr_flags, encrypted, expires) File "/home/joliver/.ansible/tmp/ansible-tmp-1406221646.88-85343250424775/postgresql_user", line 181, in user_add cursor.execute(query, query_password_data) psycopg2.ProgrammingError: conflicting or redundant options I used ANSIBLE_KEEP_REMOTE_FILES=1 to look at those lines, but I'm no python or postgresql guru. -- 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/e90fd096-74cf-48b1-86c3-0691c9d07bf4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.