Skip to content

Commit

Permalink
🐛 Use postgresql modules for migration
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
  • Loading branch information
jmontleon committed Jul 22, 2024
1 parent 455abeb commit bac1756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/tackle/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
dbm_user: "{{ pgsql_secret.resources[0].data['database-user'] | b64decode }}"
dbm_pass: "{{ pgsql_secret.resources[0].data['database-password'] | b64decode }}"

- name: ping source database
- name: Ping source database
postgresql_ping:
db: "{{ keycloak_database_db_name }}"
login_host: "{{ keycloak_database_service_k8s_resource_name }}"
Expand All @@ -252,7 +252,7 @@
until: src_ping.is_available
delay: 10

- name: ping destination database
- name: Ping destination database
postgresql_ping:
db: "{{ keycloak_database_db_name }}"
login_host: "{{ keycloak_database_service_k8s_resource_name }}-migration"
Expand Down

0 comments on commit bac1756

Please sign in to comment.