diff options
| author | Luke Hoersten <[email protected]> | 2026-07-30 18:19:08 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-07-30 18:19:08 -0500 |
| commit | 26c081a4ac50f5fdbd75432a92aa6dd628dd6932 (patch) | |
| tree | dfe412f6a09a6fe587120e7b22a61d8af012eca5 /postgresql/tasks | |
| parent | 6f573b9d12e6fa2f6a7dbebb41ccfbbd966c82e7 (diff) | |
postgresql: fix initdb guard to compare find matched count
Diffstat (limited to 'postgresql/tasks')
| -rw-r--r-- | postgresql/tasks/main.yaml | 2 |
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 |
