install dependencies

This commit is contained in:
Robert Kaussow 2018-10-25 21:56:41 +02:00
parent f802a13f79
commit 77d51bfe80

View File

@ -14,10 +14,11 @@
gpgkey: "https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ __postgres_version }}"
- name: Install python dependencies
pip:
name:
- psycopg2
package:
name: "{{ item }}"
state: present
whith_items:
- python-psycopg2
become: True
become_user: root
when: postgres_repository_enabled