have a playbook bit to distribute syslog-ng.conf to a bunch of servers,
some running syslog-ng 3.3 and some running 3.5. so there are two
different configuration files.
is there a way to detect which version a host is running so i can
distribute the appropriate one? for the moment i have an embarrassing
hack based on host entries :(
{
"changed": false,
"rc": 0,
"ansible_facts": {
"rsyslog_ver": "5.8.6,"
}
}