aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/postgres-cluster.yml
diff options
context:
space:
mode:
authorThéophile Helleboid <theophile.helleboid@captaintrain.com>2018-11-08 17:21:55 +0100
committerThéophile Helleboid <theophile.helleboid@captaintrain.com>2018-11-08 20:54:11 +0100
commit91a1727f6cb7049669a700815a8908721da45ff5 (patch)
tree0e76b31364c57fce6f0dbfe7c60b3d5d89af5b53 /tasks/postgres-cluster.yml
parentd0bc90e08c29e881c388c6803ed9c49dff1f1776 (diff)
downloadansible-postgresql-role-91a1727f6cb7049669a700815a8908721da45ff5.tar.gz
ansible-postgresql-role-91a1727f6cb7049669a700815a8908721da45ff5.tar.zst
ansible-postgresql-role-91a1727f6cb7049669a700815a8908721da45ff5.zip
Add PostgreSQL 11
Diffstat (limited to 'tasks/postgres-cluster.yml')
-rw-r--r--tasks/postgres-cluster.yml2
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 %}"