Install monit and configure as many processes as you want with ansible.