We run Ansible with great success. We use Ansible to provision the server and keep all Kamailio related code in a git-repo. Ansible has two tasks, (1) to provision the server according to business security standards and all sub-deps, and (2) to update the server when new code is commited to the repo.

On new code, it would then setup all dirs, restart Kamailio etc as needed.

We use the same logic and setup for Asterisk and have been doing that in production for a few years without any issues whatsoever.

Cheers,
Samuel

From: sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Daniel-Constantin Mierla <miconda@gmail.com>
Sent: Friday, November 30, 2018 08:26
To: Kamailio (SER) - Users Mailing List; Alex Balashov
Subject: Re: [SR-Users] Automating installation
 

On 29.11.18 22:53, Alex Balashov wrote:
> On Thu, Nov 29, 2018 at 01:50:55PM -0800, Joel Serrano wrote:
>
>> If it was me, I would handle everything with ansible, but that is just
>> my tool of preference.
> I'll add a vote for SaltStack, my preferred tool of choice.

Did you start with it and stayed with, or you compared and found some
benefits vs. others like ansible, puppet, ...?

I started with ansible and happy with it, when I looked around the
reasons were that python was installed anyhow by default in debian, then
the target system didn't need to have any server/agent app deployed before.

Cheers,
Daniel

--
Daniel-Constantin Mierla -- https://nam03.safelinks.protection.outlook.com/?url=www.asipto.com&amp;data=02%7C01%7C%7Cbddcc5fbd0df470749ef08d656954101%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636791596364449003&amp;sdata=i%2BrWG9MKhzZ1FQgaVaj7dbyEdTeGd3xWy3Lkb2%2FcYzE%3D&amp;reserved=0
https://nam03.safelinks.protection.outlook.com/?url=www.twitter.com%2Fmiconda&amp;data=02%7C01%7C%7Cbddcc5fbd0df470749ef08d656954101%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636791596364449003&amp;sdata=fODOG0JM6gwXIneoxel2QVy5PGAmbTYFgGk68ctOPdU%3D&amp;reserved=0 -- https://nam03.safelinks.protection.outlook.com/?url=www.linkedin.com%2Fin%2Fmiconda&amp;data=02%7C01%7C%7Cbddcc5fbd0df470749ef08d656954101%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636791596364449003&amp;sdata=CHA9TnvLV5CKkWJNDwntmo7w6bn%2BsB%2F6RbjpxT1%2BN4w%3D&amp;reserved=0
Kamailio World Conference -- https://nam03.safelinks.protection.outlook.com/?url=www.kamailioworld.com&amp;data=02%7C01%7C%7Cbddcc5fbd0df470749ef08d656954101%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636791596364449003&amp;sdata=ac0qNl3hlv2MMSMd7t82UCLLDpPzvRD2iFmxMoxdC5M%3D&amp;reserved=0
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- https://nam03.safelinks.protection.outlook.com/?url=www.asipto.com&amp;data=02%7C01%7C%7Cbddcc5fbd0df470749ef08d656954101%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636791596364449003&amp;sdata=i%2BrWG9MKhzZ1FQgaVaj7dbyEdTeGd3xWy3Lkb2%2FcYzE%3D&amp;reserved=0


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&amp;data=02%7C01%7C%7Cbddcc5fbd0df470749ef08d656954101%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636791596364449003&amp;sdata=hcYbPWDj2JTtRPI6pBXUQkdlOBgDGadM1sUVkErqLds%3D&amp;reserved=0