2020-04-19 03:28:50 +02:00
|
|
|
---
|
|
|
|
|
2023-05-22 14:51:55 +02:00
|
|
|
- name: Add Postgresql apt key
|
|
|
|
apt_key:
|
|
|
|
url: https://www.postgresql.org/media/keys/ACCC4CF8.asc
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Add Postgresql Repository
|
|
|
|
apt_repository:
|
|
|
|
repo: deb http://apt.postgresql.org/pub/repos/apt {{ debian_version }}-pgdg main
|
|
|
|
state: present
|
|
|
|
|
2020-04-19 03:28:50 +02:00
|
|
|
- name: Install Postresql Server
|
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- postgresql
|
|
|
|
- postgresql-contrib
|
2023-05-22 14:51:55 +02:00
|
|
|
- python3-psycopg2
|