mirror of
https://gitea.0xace.cc/ansible-galaxy/postgresql.git
synced 2025-01-18 20:12:23 +00:00
postgresql: add daemon-reload on data_dir change
This commit is contained in:
parent
2e22041213
commit
41f598a238
@ -17,3 +17,9 @@
|
|||||||
[Service]
|
[Service]
|
||||||
Environment=PGDATA={{ postgresql_data_dir }}
|
Environment=PGDATA={{ postgresql_data_dir }}
|
||||||
notify: Restart PostgreSQL
|
notify: Restart PostgreSQL
|
||||||
|
|
||||||
|
- name: Systemd daemon-reload
|
||||||
|
systemd:
|
||||||
|
name: "{{ postgresql_unit_name }}"
|
||||||
|
daemon_reload: yes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user