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 }}" gpgkey: "https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ __postgres_version }}"
- name: Install python dependencies - name: Install python dependencies
pip: package:
name: name: "{{ item }}"
- psycopg2
state: present state: present
whith_items:
- python-psycopg2
become: True become: True
become_user: root become_user: root
when: postgres_repository_enabled when: postgres_repository_enabled