Good Evening… A coworker of mine is working on finishing up a role, that may be use across multiple operating systems. We were wondering, if there was a way to separate the handler files into files based on OS, that are only parsed when you are running the role against that particular OS.
For example, if you were running the role against a windows server, the handler would be in windows.yml, or if it was debian, then the handler would be in Debian.yml.
I know how to do this for the tasks files, but wasn’t sure if this was possible for handlers files.
–John