db-datanommer: adjust playbook to handle new setup with normal rpm for timescaledb

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-05-14 15:19:30 -07:00
parent bf5a81829c
commit 31c4c11b8c

View file

@ -1,37 +1,3 @@
# Use a custom module until TimescaleDB is available in EPEL
# https://bugzilla.redhat.com/show_bug.cgi?id=1987790
- name: Install the timescaledb repo
copy:
dest: /etc/yum.repos.d/timescaledb.repo
content: |
[timescaledb]
name = Copr modules repo for timescaledb
baseurl = https://download.copr.fedorainfracloud.org/results/abompard/timescaledb/modules/epel-8-$basearch+timescaledb-master-20210730083523/latest/$basearch
gpgcheck=0
gpgkey=https://download.copr.fedorainfracloud.org/results/abompard/timescaledb/pubkey.gpg
repo_gpgcheck=0
enabled = 1
tags:
- datanommer
- postgresql
- timescaledb
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat'
#
- name: Install the timescaledb module
copy:
dest: /etc/dnf/modules.d/timescaledb.module
content: |
[timescaledb]
name=timescaledb
stream=master
profiles=
state=enabled
tags:
- datanommer
- postgresql
- timescaledb
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat'
- name: Install timescaledb
dnf:
name: