-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Add SSL support to postgresql_schema module #44482
Add SSL support to postgresql_schema module #44482
Conversation
try: | ||
db_connection = psycopg2.connect(database=database, **kw) | ||
db_connection = psycopg2.connect(**kw) | ||
# Enable autocommit so we can create databases | ||
if psycopg2.__version__ >= '2.4.2': |
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.
I'm not sure if enabling auto-commit is required for this module.
The test
|
3e3dabf
to
05e232f
Compare
05e232f
to
117d25a
Compare
@matburt, would it be possible to get a quick review of this and let me know if there is anything that I need to change? |
117d25a
to
867b5f9
Compare
867b5f9
to
307cfdd
Compare
sgtm 👍 |
@Dorn- I think you need to comment |
I don't think that I am a maintainer, but let's try it :) |
shipit |
bot_status |
Componentslib/ansible/modules/database/postgresql/postgresql_schema.py Metadatawaiting_on: maintainer |
a89ced4
to
03798ed
Compare
03798ed
to
b2ac90c
Compare
b2ac90c
to
1fd32e9
Compare
ready_for_review |
+label affects_2.8 |
Have added some extra arguments to the postgresql_schema module to allow configuring an SSL connection to the postgresql server. The arguments and method used here for the connection are the same as used by the postgresql_database module.
1fd32e9
to
1e4b987
Compare
Have added some extra arguments to the postgresql_schema module to allow configuring an SSL connection to the postgresql server. The arguments and method used here for the connection are the same as used by the postgresql_database module.
Have added some extra arguments to the postgresql_schema module to allow configuring an SSL connection to the postgresql server. The arguments and method used here for the connection are the same as used by the postgresql_database module.
Have added some extra arguments to the postgresql_schema module to allow configuring an SSL connection to the postgresql server. The arguments and method used here for the connection are the same as used by the postgresql_database module.
SUMMARY
Have added some extra arguments to the postgresql_schema module to allow
configuring an SSL connection to the postgresql server. The arguments
and method used here for the connection are the same as used by the
postgresql_database module.
Related to #39906
ISSUE TYPE
COMPONENT NAME
postgresql_schema
ANSIBLE VERSION
ADDITIONAL INFORMATION
You can now use the same ssl configuration arguments as the
postgresql_database
module for thepostgresql_schema
module. For example: