ansible-role-mariadb icon indicating copy to clipboard operation
ansible-role-mariadb copied to clipboard

Control handler's service restarts

Open obwon opened this issue 5 years ago • 2 comments
trafficstars

We often release changes that do not require service restarts which impact production. Would require a control variable and logic to the handler.

obwon avatar Mar 18 '20 16:03 obwon

Can you give a concrete example? The handler that restarts the service is only called on configuration file changes. I can't imagine that a server restart is not necessary in that case.

bertvv avatar Jun 17 '20 20:06 bertvv

Hi Bert,

Sure. Many changes to config can be done dynamically but we would also like to record them in a config file for permanence.

I know it goes against the CI/CD ethos but sometimes my team is avers to shutdown the production stack for a DB config change. The stop check we put in is also for extra insurance against unintended DB restarts.

obwon avatar Nov 09 '20 21:11 obwon