--- - name: Restart postgres systemd: name: postgres state: restarted become: true