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