--- - name: timescale_db_el | Manage the installation on EL based distributions tags: [postgresql, timescale, timescaledb] block: - name: timescale_db_el | Install the repository configuration on EL ansible.builtin.template: src: timescale_timescaledb.repo.j2 dest: /etc/yum.repos.d/timescale_timescaledb.repo owner: root group: root mode: "0644" - name: timescale_db_el | Install the timescale DB package on EL ansible.builtin.yum: pkg: '{{ timescale_db_el_pkgs }}' state: present - name: timescale_db_el | Manage the timescale + postgresql settings on EL based distributions tags: ['postgresql', 'postgres', 'pg_conf', 'timescale', 'timescaledb', 'timescale_conf'] block: - name: timescale_db_el | TimeScaleDB setting for postgresql on EL become: true become_user: postgres community.postgresql.postgresql_set: name: '{{ item.name }}' value: "{% if item.set %}{{ item.value }}{% else %}default{% endif %}" loop: '{{ timescaledb_configuration_settings }}' notify: Reload postgresql