Commit fe137b0a authored by Lars Beckers's avatar Lars Beckers
Browse files

postgres: remove py2 package install for bullseye

parent e4f160cc
......@@ -19,11 +19,17 @@
name:
# yamllint disable-line rule:line-length
- postgresql{{ "-{}".format(postgres_version) if postgres_version is defined }}
- python-psycopg2
- python3-psycopg2
- libpq-dev
state: present
- name: ensure legacy postgres packages are installed
apt:
name:
- python-psycopg2
state: present
when: ansible_distribution_major_version|int(default=99) < 11
- name: ensure postgres is started
service:
name: postgresql
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment