src.nth.io/

summaryrefslogtreecommitdiff
path: root/postgresql/tasks/main.yaml
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-07-30 18:19:08 -0500
committerLuke Hoersten <[email protected]>2026-07-30 18:19:08 -0500
commit26c081a4ac50f5fdbd75432a92aa6dd628dd6932 (patch)
treedfe412f6a09a6fe587120e7b22a61d8af012eca5 /postgresql/tasks/main.yaml
parent6f573b9d12e6fa2f6a7dbebb41ccfbbd966c82e7 (diff)
postgresql: fix initdb guard to compare find matched count
Diffstat (limited to 'postgresql/tasks/main.yaml')
-rw-r--r--postgresql/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql/tasks/main.yaml b/postgresql/tasks/main.yaml
index 865f111..95d1f23 100644
--- a/postgresql/tasks/main.yaml
+++ b/postgresql/tasks/main.yaml
@@ -31,7 +31,7 @@
become: yes
become_user: "postgres"
command: "{{postgresql_initidb_path}} -D {{postgresql_data_dir}}"
- when: filesFound == 0
+ when: filesFound.matched == 0
- name: ensure postgresql is started
become: yes