Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
update msg about support version
  • Loading branch information
shawn0915 authored and richm committed Nov 22, 2023
1 parent c0766a3 commit 870e60b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@

- name: Check if requested version is supported in the system (RHEL8)
fail:
msg: RHEL 8 supports only Postgresql 10, 12 and 13
msg: RHEL 8 supports only Postgresql 10, 12, 13 and 15
when:
- ansible_facts["os_family"] == "RedHat"
- ansible_facts["distribution_major_version"] == "8"
- postgresql_version | string not in __postgresql_versions_el8

- name: Check if requested version is supported in system (RHEL9)
fail:
msg: RHEL 9 supports only Postgresql 13
msg: RHEL 9 supports only Postgresql 13 and 15
when:
- ansible_facts["os_family"] == "RedHat"
- ansible_facts["distribution_major_version"] == "9"
Expand Down

0 comments on commit 870e60b

Please sign in to comment.