From 96e006cbb31b798fa846c51c08ddf2d7844953dc Mon Sep 17 00:00:00 2001 From: Ben Partridge Date: Wed, 13 Nov 2019 11:55:56 +1100 Subject: [PATCH] Sets python environment for amazon-linux-extras to system python --- roles/restore_backups/tasks/amazon.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/restore_backups/tasks/amazon.yml b/roles/restore_backups/tasks/amazon.yml index bf32125..2444212 100644 --- a/roles/restore_backups/tasks/amazon.yml +++ b/roles/restore_backups/tasks/amazon.yml @@ -5,3 +5,5 @@ command: amazon-linux-extras install -y "postgresql{{ postgres_version }}" args: creates: /usr/bin/psql + environment: + PYTHON: /bin/python