--- - name: restart postgresql service: name: postgresql state: restarted enabled: true