Coder Social home page Coder Social logo

Comments (18)

FilBot3 avatar FilBot3 commented on May 11, 2024 3

Switching the databases.yml and users.yml yielded new errors.

TASK [geerlingguy.postgresql : Ensure PostgreSQL is started and enabled on boot.] ***************************************************************************************************
ok: [10.144.0.137]

TASK [geerlingguy.postgresql : Ensure PostgreSQL users are present.] ****************************************************************************************************************
failed: [10.144.0.137] (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
fatal: [10.144.0.137]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

from ansible-role-postgresql.

IDerr avatar IDerr commented on May 11, 2024 2

Had the same issue today with ansible galaxy version

from ansible-role-postgresql.

jpboliv avatar jpboliv commented on May 11, 2024 2

I was experiencing a similar issue with the following failure
TASK [geerlingguy.postgresql : Ensure PostgreSQL users are present.] ***************************** failed: [production] (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false} fatal: [production]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

I recommend you to try setting postgres_users_no_log: false on your variables file and see what the error is about. In my case, it was related to the dependency psycopg2 (which I was already installing with python3-psycopg2, but was missing ansible_python_interpreter: /usr/bin/python3 on my variables)

from ansible-role-postgresql.

FilBot3 avatar FilBot3 commented on May 11, 2024

Seems to be related to this: PR #31

on these lines:

from ansible-role-postgresql.

abdrehma avatar abdrehma commented on May 11, 2024

@predatorian3 I just tested this in case you're wondering:

This occurs because users are created before databases. So when you create a user and reference a database - there's no database to reference and it errors out

And then you create a database to reference a user - well, there's no user. You have to create a user first with no db reference, then create the db.

from ansible-role-postgresql.

stale avatar stale commented on May 11, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

from ansible-role-postgresql.

stale avatar stale commented on May 11, 2024

This issue is no longer marked for closure.

from ansible-role-postgresql.

stale avatar stale commented on May 11, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

from ansible-role-postgresql.

ahmedbodi avatar ahmedbodi commented on May 11, 2024

Experiencing the same issue too

from ansible-role-postgresql.

stale avatar stale commented on May 11, 2024

This issue is no longer marked for closure.

from ansible-role-postgresql.

stale avatar stale commented on May 11, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

from ansible-role-postgresql.

ahmedbodi avatar ahmedbodi commented on May 11, 2024

not stale

from ansible-role-postgresql.

stale avatar stale commented on May 11, 2024

This issue is no longer marked for closure.

from ansible-role-postgresql.

stale avatar stale commented on May 11, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

from ansible-role-postgresql.

ahmedbodi avatar ahmedbodi commented on May 11, 2024

not stale

from ansible-role-postgresql.

stale avatar stale commented on May 11, 2024

This issue is no longer marked for closure.

from ansible-role-postgresql.

stale avatar stale commented on May 11, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

from ansible-role-postgresql.

stale avatar stale commented on May 11, 2024

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

from ansible-role-postgresql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.