xoxys.postgres/tasks/prepare_redhat_8.yml
Robert Kaussow b88eb7edbb
Some checks failed
continuous-integration/drone/pr Build is failing
fix linting
2022-04-03 14:58:01 +02:00

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