--- - name: daemon-reload systemd: { daemon_reload: yes } - name: restart postgres systemd: { name: postgresql, state: restarted, enabled: yes }