xoxys.postgres/tasks/prepare_redhat_8.yml
Robert Kaussow 8507a31cab
All checks were successful
continuous-integration/drone/push Build is passing
feat: add test for Rocky Linux 8 (#1)
2022-04-04 21:51:15 +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