DCD-798: Use correct ansible argument for the env variable

This commit is contained in:
Adam Brokes
2019-11-12 15:40:18 +11:00
parent b24c0d7236
commit b848b61a9e

View File

@@ -2,6 +2,8 @@
# Amazon Linux 2 supplies extra packages via a special command.
- name: Enable Postgresql from 'extras'
command: PYTHON=/bin/python amazon-linux-extras install -y "postgresql{{ postgres_version }}"
command: amazon-linux-extras install -y "postgresql{{ postgres_version }}"
environment:
PYTHON: /bin/python
args:
creates: /usr/bin/psql