diff options
author | Théophile Helleboid <theophile.helleboid@captaintrain.com> | 2018-11-08 17:21:55 +0100 |
---|---|---|
committer | Théophile Helleboid <theophile.helleboid@captaintrain.com> | 2018-11-08 20:54:11 +0100 |
commit | 91a1727f6cb7049669a700815a8908721da45ff5 (patch) | |
tree | 0e76b31364c57fce6f0dbfe7c60b3d5d89af5b53 /tasks | |
parent | d0bc90e08c29e881c388c6803ed9c49dff1f1776 (diff) | |
download | ansible-postgresql-role-91a1727f6cb7049669a700815a8908721da45ff5.tar.gz ansible-postgresql-role-91a1727f6cb7049669a700815a8908721da45ff5.tar.zst ansible-postgresql-role-91a1727f6cb7049669a700815a8908721da45ff5.zip |
Add PostgreSQL 11
Diffstat (limited to 'tasks')
-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 %}" |