DCD-798: Use correct python executable for amazon-linux-extras

This commit is contained in:
Adam Brokes
2019-11-12 15:16:32 +11:00
parent 9b6a8ec4cf
commit b24c0d7236

View File

@@ -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