Skip to content

Commit

Permalink
Fix EL8 DNF module conflict
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
bviktor committed Nov 17, 2024
1 parent 34b77d4 commit 9eb059b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tasks/install_el.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
---
# https://noobient.com/2019/11/26/postgresql-on-centos-8-and-rhel-8/
# Seems to have been fixed on EL9, but not on EL8
- name: Disable PostgreSQL DNF module stream
command:
cmd: dnf -y module disable postgresql
register: noobient_postgresql_dnfmodule_disable
changed_when: ('Nothing to do.' not in noobient_postgresql_dnfmodule_disable.stdout)
when: ansible_distribution_major_version == '8'

- include_role:
name: noobient.thirdparty
vars:
Expand Down

0 comments on commit 9eb059b

Please sign in to comment.