-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
If pg_hostname is defined don't try to upgrade PostgreSQL #5398
Conversation
Build succeeded.
|
Build succeeded.
|
Build succeeded.
|
Hey @shanemcd, will you review it again? |
|
||
- name: Copy old pg_hba.conf | ||
copy: | ||
src: "{{ postgres_data_dir + '/pgdata/pg_hba.conf' }}" | ||
dest: "{{ postgres_data_dir + '/10/data/' }}" | ||
when: upgrade_postgres | bool | ||
when: when: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a syntax error.
Rather than adding |
Looks like we'll also need a rebase on this PR. |
8135ae5
to
b547bf5
Compare
Build failed.
|
Hey @shanemcd, I finally had time to look at it again and you are right regarding having
Btw, I can see that one of the tests failed, but I cannot figure out why. Do you know? |
Build succeeded.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for following up on this. Looks great.
Build succeeded (gate pipeline).
|
[4.1] Adds instances to activity stream
SUMMARY
If you have defined the variable pg_hostname it means that you are using Postgres DB apart from this ansible playbook and therefore most of these tasks should only be run if "pg_hostname is not defined"
ISSUE TYPE
COMPONENT NAME
AWX VERSION
ADDITIONAL INFORMATION
We are using an external Postgres DB and because of this we then to skip the task for the Postgres upgrade migration