Comment blocks now stay within three lines and explain only the non-obvious. Long histories, include examples, and commented-out code are gone. No task, key, or value changed; the only data change is comment text inside the generated unit files.
10 lines
286 B
YAML
10 lines
286 B
YAML
---
|
|
# A new drop-in changes the generated unit, so Postgres is recreated and every attached app restarts.
|
|
- name: Restart Postgres
|
|
ansible.builtin.systemd_service:
|
|
name: "{{ postgres_unit }}"
|
|
scope: user
|
|
state: restarted
|
|
daemon_reload: true
|
|
listen: Restart Postgres
|