Skip to content

Commit 42735e8

Browse files
authored
Change version tests to allow "Check Mode" ansible runs
Change version tests to allow "Check Mode" ansible runs
2 parents 116e624 + ca5db7b commit 42735e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/check_pg_version_mismatch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
changed_when: false
1010
failed_when: postgresql_binary_version.stdout == ""
1111
register: postgresql_binary_version
12+
check_mode: no
1213

1314
# Check database version
1415
- name: PostgreSQL | Check database version
@@ -19,6 +20,7 @@
1920
changed_when: false
2021
failed_when: postgresql_database_version.stdout == ""
2122
register: postgresql_database_version
23+
check_mode: no
2224

2325
# If versions do not match, then restart PostgreSQL
2426
- name: PostgreSQL | Verify binary and database versions match

0 commit comments

Comments
 (0)