DCD-686: Install Postgres only if restoration is required.

This commit is contained in:
Steve Smith
2019-10-10 09:30:45 +11:00
parent 0400d8943d
commit 72659de9ad
3 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
---
# 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