#!/usr/bin/ansible-playbook # vim:ft=ansible: --- - name: restart psql systemd: name: postgresql state: restarted become: yes