Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Add posgresql extension debversion to pulp db
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Dellweg committed Oct 28, 2019
1 parent 141257f commit 7f047d6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roles/pulp-database/tasks/install_postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@
import_role:
name: geerlingguy.postgresql
become: yes

- name: Enable debversion extension on pulp db
postgresql_ext:
name: debversion
db: "{{ item.name }}"
become: true
become_user: postgres
loop: "{{ postgresql_databases }}"
1 change: 1 addition & 0 deletions roles/pulp/vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pulp_preq_packages:
- python3
- python3-venv
- postgresql-11-debversion

# Pulp requires Python 3.6+.
pulp_python_interpreter: /usr/bin/python3

0 comments on commit 7f047d6

Please sign in to comment.