From 1c706c8cc5eac6c11feca157632c8a28e297f367 Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Thu, 13 Jun 2019 16:14:20 +1000 Subject: [PATCH] DCD-386: Remove use of amazon-linux-extras command as it breaks in a clean virtualenv; psql isn't actually used, and can be installed manually if needed. --- roles/product_common/tasks/amazon.yml | 6 ------ roles/product_common/tasks/ubuntu.yml | 1 - 2 files changed, 7 deletions(-) diff --git a/roles/product_common/tasks/amazon.yml b/roles/product_common/tasks/amazon.yml index 7e9abb1..c34c322 100644 --- a/roles/product_common/tasks/amazon.yml +++ b/roles/product_common/tasks/amazon.yml @@ -10,9 +10,3 @@ yum: name: - dejavu-fonts-common # Required by the installer - -# Amazon Linux 2 supplies extra packages via a special command. -- name: Enable Postgresql from 'extras' - command: amazon-linux-extras install -y "postgresql{{ postgres_version }}" - args: - creates: /usr/bin/psql diff --git a/roles/product_common/tasks/ubuntu.yml b/roles/product_common/tasks/ubuntu.yml index 7b28b70..68a20ff 100644 --- a/roles/product_common/tasks/ubuntu.yml +++ b/roles/product_common/tasks/ubuntu.yml @@ -11,5 +11,4 @@ - name: Install other base packages on Ubuntu package: name: - - postgresql-client - fonts-dejavu-core # Required by installer