We are using Ansible 1.9 for deploying Spring Boot microservices. We are using CentOS 6 and the services are packaged as rpms. We intend to configure the executable jar files to be supervised by runit, instead of SysVinit or Upstart.
Is it reasonable to package the runit config inside the RPM, and let Ansible only deploy specific properties into /etc/sysconfig
, or does a better way to use Ansible for the full runit config exist, so that the service would be decoupled from that host configuration?