- name: Restart postgres. service: name: '{{ postgresql_daemon }}' state: "restarted"