xoxys.postgres/tasks/prepare_redhat_8.yml
Robert Kaussow dd16f0218b
All checks were successful
continuous-integration/drone/pr Build is passing
fix dependencies
2022-04-03 15:13:11 +02:00

25 lines
534 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: 0644
owner: root
group: root
when: postgres_repository_enabled | bool
- name: Install rh8 dependencies
package:
name: "{{ item }}"
state: present
loop:
- python3-psycopg2
become: True
become_user: root