From 77d51bfe8019f47d35d85057fcc56a633f7a3fe9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 25 Oct 2018 21:56:41 +0200 Subject: [PATCH] install dependencies --- tasks/prepare.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/prepare.yml b/tasks/prepare.yml index 9804bb4..e800f14 100644 --- a/tasks/prepare.yml +++ b/tasks/prepare.yml @@ -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