Skip to content

Commit

Permalink
Change version tests to allow "Check Mode" ansible runs
Browse files Browse the repository at this point in the history
Change version tests to allow "Check Mode" ansible runs
  • Loading branch information
gclough authored Mar 13, 2019
2 parents 116e624 + ca5db7b commit 42735e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/check_pg_version_mismatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
changed_when: false
failed_when: postgresql_binary_version.stdout == ""
register: postgresql_binary_version
check_mode: no

# Check database version
- name: PostgreSQL | Check database version
Expand All @@ -19,6 +20,7 @@
changed_when: false
failed_when: postgresql_database_version.stdout == ""
register: postgresql_database_version
check_mode: no

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

0 comments on commit 42735e8

Please sign in to comment.