--- - name: restart postgres service: name: postgresql state: restarted - name: reload postgresql service: name: postgresql state: reloaded