bertvv / ansible-role-mariadb

Install MariaDB on RHEL/CentOS 7 or Fedora.
https://galaxy.ansible.com/bertvv/mariadb/
Other
144 stars 108 forks source link

Control handler's service restarts #38

Open obwon opened 4 years ago

obwon commented 4 years ago

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

bertvv commented 4 years ago

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.

obwon commented 3 years ago

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.