- name: restart postgres systemd: name: postgresql state: restarted