ansible-role-mariadb
ansible-role-mariadb copied to clipboard
Control handler's service restarts
We often release changes that do not require service restarts which impact production. Would require a control variable and logic to the handler.
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.
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.