- name: restart postgres service: name: "postgresql@{{ pg_version }}-main" state: restarted