Make roles/matrix-postgres/tasks/detect_existing_postgres_version.yml detect Postgres v14

This commit is contained in:
Slavi Pantaleev 2022-10-20 07:43:01 +03:00
parent 2eef6af23e
commit a32eea41fe

View file

@ -68,3 +68,8 @@
ansible.builtin.set_fact:
matrix_postgres_detected_version_corresponding_docker_image: "{{ matrix_postgres_docker_image_v13 }}"
when: "matrix_postgres_detected_version == '13' or matrix_postgres_detected_version.startswith('13.')"
- name: Determine corresponding Docker image to detected version (use 14.x, if detected)
ansible.builtin.set_fact:
matrix_postgres_detected_version_corresponding_docker_image: "{{ matrix_postgres_docker_image_v14 }}"
when: "matrix_postgres_detected_version == '14' or matrix_postgres_detected_version.startswith('14.')"