Tag: ansible

Ansible Handlers – Restart services inside a load-balancing poll

Ansible is great as a configuration management tool. What I like most about it, is that you can make your own recipe on how to handle things. Here we’ll talk about how can Ansible restart, sequentially, a service, on some servers, which are members of a load balancing poll. Long story short, we have an F5 load balancer which distributes the syslog traffic to 2-3 servers. These servers run syslog-ng. We don’t want to restart […]