diff --git a/tasks/install.yml b/tasks/install.yml index ad896ea..92bf0be 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -22,14 +22,14 @@ notify: __postgres_restart register: __postgres_systemd - - name: just force systemd to reread configs (2.4 and above) + - name: Force systemd to re-read configs systemd: daemon_reload: True when: __postgres_systemd.changed - name: Check if database is initialized stat: - path: "{{ postgres_data_dir }}/PG_VERSION" + path: "{{ __postgres_data_dir }}/PG_VERSION" register: __pgdata_dir_version - name: Ensure database is initialized