'env' should be [] not {} in defaults.yml

This commit is contained in:
Noel McLoughin 2018-01-22 14:06:03 +00:00
parent a87ccfb0ed
commit 1065e1c67c
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ postgres:
command: initdb --pgdata=/var/lib/pgsql/data command: initdb --pgdata=/var/lib/pgsql/data
test: test -f /var/lib/pgsql/data/PG_VERSION test: test -f /var/lib/pgsql/data/PG_VERSION
user: postgres user: postgres
env: {} env: []
conf_dir: /var/lib/pgsql/data conf_dir: /var/lib/pgsql/data
postgresconf: "" postgresconf: ""

View file

@ -56,7 +56,7 @@ postgresql-cluster-prepared:
- name: {{ postgres.prepare_cluster.command }} - name: {{ postgres.prepare_cluster.command }}
- cwd: / - cwd: /
- runas: {{ postgres.prepare_cluster.user }} - runas: {{ postgres.prepare_cluster.user }}
- env: {{ postgres.prepare_cluster.env|default({}) }} - env: {{ postgres.prepare_cluster.env }}
- unless: - unless:
- {{ postgres.prepare_cluster.test }} - {{ postgres.prepare_cluster.test }}
- require: - require: