-
Notifications
You must be signed in to change notification settings - Fork 137
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
[ansible/postgres] failed to find PGDATA setting in -D.service #36
Comments
Are you running SELinux? |
Im also getting this error on virtualbox lab - RHEL 7.8 VMs. Also see related issue #58 I manually fixed by adding the missing variable to the postgres role/vars/Rehat.yml but now it progress to the below error returned form the task.
|
@wdrury-uk Creating an internal bug ticket for the ansible team to dig into. Will notify you of any update. |
Thanks @miki-sinmandella @wdrury-uk for reporting , we currently support ubuntu only, we are planning to support RHEL, Centos 7.x /8.x in upcoming weeks (mostly next month) |
@wdrury-uk Workaround till we release official fix : After the error initialise the DB manually with below command and run the playbook again
|
Thanks for the fix @chukka will try this morning. @peters95 just to confirm you mention this collection only supports unbuntu yet the postgres role is code to support only Debian and RedHat (RHEL)? Did you mean those two OS? Also can the ReadMe for the collection on Galaxy be extended to have section at top for Supported OS/Postgres Versions? |
@chukka I can confirm the above fix, workaround being executed on the postgres db servers after first play execution failure with this issue error does solve the issue. Fix Steps
|
Great ! lets wait for the fix in the upcoming release :) |
hi,
I am trying to deploy artifactory with ansible.
when I deployed Postgres I receive the error "failed to find PGDATA setting in -D.service".
The text was updated successfully, but these errors were encountered: