Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgres sudo #53

Open
elfassy opened this issue May 24, 2016 · 0 comments
Open

Postgres sudo #53

elfassy opened this issue May 24, 2016 · 0 comments

Comments

@elfassy
Copy link

elfassy commented May 24, 2016

TASK [postgresql : Create postgresql user] *************************************
fatal: [....]: FAILED! => {"changed": false, "failed": true, "module_stderr": "", "module_stdout": "sudo: a password is required\r\n", "msg": "MODULE FAILURE", "parsed": false}

any idea what i'm missing?

- name: Create postgresql user
  postgresql_user: name={{ postgresql_db_user }} password={{ postgresql_db_password }} role_attr_flags=CREATEDB,SUPERUSER,CREATEROLE
  sudo_user: '{{ postgresql_admin_user }}'

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant