From b24c0d723684f8f1d1b0dc61c74942a2ee02d837 Mon Sep 17 00:00:00 2001 From: Adam Brokes Date: Tue, 12 Nov 2019 15:16:32 +1100 Subject: [PATCH] DCD-798: Use correct python executable for amazon-linux-extras --- roles/restore_backups/tasks/amazon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/restore_backups/tasks/amazon.yml b/roles/restore_backups/tasks/amazon.yml index bf32125..0758693 100644 --- a/roles/restore_backups/tasks/amazon.yml +++ b/roles/restore_backups/tasks/amazon.yml @@ -2,6 +2,6 @@ # Amazon Linux 2 supplies extra packages via a special command. - name: Enable Postgresql from 'extras' - command: amazon-linux-extras install -y "postgresql{{ postgres_version }}" + command: PYTHON=/bin/python amazon-linux-extras install -y "postgresql{{ postgres_version }}" args: creates: /usr/bin/psql