galaxyproject / ansible-postgresql

An Ansible role for managing a PostgreSQL server
https://galaxy.ansible.com/galaxyproject/postgresql
122 stars 58 forks source link

RHEL8 - cannot install due to mismatch between versions #47

Open hexylena opened 1 year ago

hexylena commented 1 year ago

From @vazovn

Setting the __postgresql_version_dotless: "" seems to do the fix. The good news is that one can do this in the ansible playbook yaml file and thus not affect the role. Yet, if in the future postgresql releases the digits (postresqlXX) reappear again, this fix will be a problem.

fatal: [galaxy01-test.educloud.no]: FAILED! => {"changed": false, "failures": ["No package pgdg-redhat-repo available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

We should write some molecule tests for this role