25 lines
529 B
YAML
25 lines
529 B
YAML
|
---
|
||
|
- block:
|
||
|
- name: Disable default Postgres module
|
||
|
copy:
|
||
|
dest: /etc/dnf/modules.d/postgresql.module
|
||
|
content: |
|
||
|
[postgresql]
|
||
|
name=postgresql
|
||
|
stream=
|
||
|
profiles=
|
||
|
state=disabled
|
||
|
mode: 644
|
||
|
owner: root
|
||
|
group: root
|
||
|
|
||
|
- name: Install RH8 dependencies
|
||
|
package:
|
||
|
name: "{{ item }}"
|
||
|
state: present
|
||
|
loop:
|
||
|
- python3-psycopg2
|
||
|
become: True
|
||
|
become_user: root
|
||
|
when: postgres_repository_enabled | bool
|