Commit adfd3217 authored by viscapi's avatar viscapi
Browse files

Disables built-in PostgreSQL module prior to installing external version on CentOS 8

parent ea072f7a
......@@ -35,6 +35,10 @@
state: present
when: (ansible_facts['distribution'] == "CentOS" and ansible_facts['distribution_major_version'] == "8")
- name: Disable the built-in PostgreSQL module
command: dnf -qy module disable postgresql
when: (ansible_facts['distribution'] == "CentOS" and ansible_facts['distribution_major_version'] == "8" and not use_distribution_postgresql)
- name: Install PostgreSQL {{ external_postgresql_version }} packages for CentOS 8
conf_file: '/etc/dnf/dnf.conf'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment