diff options
author | Théophile Helleboid - chtitux <chtitux@gmail.com> | 2018-11-09 16:35:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-09 16:35:02 +0100 |
commit | e4dc49c472514ed083e5935758acc08df5ee959e (patch) | |
tree | 0e76b31364c57fce6f0dbfe7c60b3d5d89af5b53 /tasks/postgres-cluster.yml | |
parent | d0bc90e08c29e881c388c6803ed9c49dff1f1776 (diff) | |
parent | 91a1727f6cb7049669a700815a8908721da45ff5 (diff) | |
download | ansible-postgresql-role-e4dc49c472514ed083e5935758acc08df5ee959e.tar.gz ansible-postgresql-role-e4dc49c472514ed083e5935758acc08df5ee959e.tar.zst ansible-postgresql-role-e4dc49c472514ed083e5935758acc08df5ee959e.zip |
Merge pull request #1 from chtitux/postgres-11
Add PostgreSQL 11
Diffstat (limited to 'tasks/postgres-cluster.yml')
-rw-r--r-- | tasks/postgres-cluster.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/postgres-cluster.yml b/tasks/postgres-cluster.yml index 83958d2..769d119 100644 --- a/tasks/postgres-cluster.yml +++ b/tasks/postgres-cluster.yml | |||
@@ -6,7 +6,7 @@ | |||
6 | apt: name=postgresql-{{ postgres_version }}-repack | 6 | apt: name=postgresql-{{ postgres_version }}-repack |
7 | when: | 7 | when: |
8 | - ansible_distribution_release != 'NA' | 8 | - ansible_distribution_release != 'NA' |
9 | - postgres_version in ['9.3', '9.4', '9.5', '9.6', '10'] | 9 | - postgres_version in ['9.3', '9.4', '9.5', '9.6', '10', '11'] |
10 | 10 | ||
11 | - name: Set initdb options | 11 | - name: Set initdb options |
12 | set_fact: postgres_initdb_option="{% if postgres_checksums %}--data-checksums{% endif %}" | 12 | set_fact: postgres_initdb_option="{% if postgres_checksums %}--data-checksums{% endif %}" |