@@ -284,7 +284,7 @@ def setup_pdpgsql(db_type, db_version=None, db_config=None, args=None):
284284 'CLIENT_VERSION' : get_value ('CLIENT_VERSION' , db_type , args , db_config ),
285285 'USE_SOCKET' : get_value ('USE_SOCKET' , db_type , args , db_config ),
286286 'ADMIN_PASSWORD' : os .getenv ('ADMIN_PASSWORD' ) or args .pmm_server_password or 'admin' ,
287- 'PORT ' : 5447 ,
287+ 'PDPGSQL_PGSM_PORT ' : 5447 ,
288288 'DISTRIBUTION' : '' ,
289289 'PMM_QA_GIT_BRANCH' : os .getenv ('PMM_QA_GIT_BRANCH' ) or 'v3'
290290 }
@@ -337,20 +337,18 @@ def setup_pgsql(db_type, db_version=None, db_config=None, args=None):
337337
338338 # Define environment variables for playbook
339339 env_vars = {
340- 'PDPGSQL_VERSION' : pgsql_version ,
341- 'PGSTAT_MONITOR_BRANCH' : 'main' ,
340+ 'PGSQL_VERSION' : pgsql_version ,
342341 'PMM_SERVER_IP' : args .pmm_server_ip or container_name or '127.0.0.1' ,
343- 'PDPGSQL_PGSM_CONTAINER ' : 'pgsql_pgsm_pmm_ ' + str (pgsql_version ),
342+ 'PGSQL_PGSM_CONTAINER ' : 'pgsql_pgss_pmm_ ' + str (pgsql_version ),
344343 'CLIENT_VERSION' : get_value ('CLIENT_VERSION' , db_type , args , db_config ),
345344 'USE_SOCKET' : get_value ('USE_SOCKET' , db_type , args , db_config ),
346345 'ADMIN_PASSWORD' : os .getenv ('ADMIN_PASSWORD' ) or args .pmm_server_password or 'admin' ,
347- 'PORT' : 5448 ,
348- 'DISTRIBUTION' : 'PGDG' ,
346+ 'PGSQL_PGSS_PORT' : 5448 ,
349347 'PMM_QA_GIT_BRANCH' : os .getenv ('PMM_QA_GIT_BRANCH' ) or 'v3'
350348 }
351349
352350 # Ansible playbook filename
353- playbook_filename = 'pdpgsql_pgsm_setup .yml'
351+ playbook_filename = 'pgsql_pgss_setup .yml'
354352
355353 # Call the function to run the Ansible playbook
356354 run_ansible_playbook (playbook_filename , env_vars , args )
0 commit comments