Logstash can read its config from a directory, where it will read all files in alphabetical order. The Ansible role should be able to fetch logstash configuration from an arbitrary number of folders, validate each of the config files separately and copy into one destination logstash configuration folder.
Finally, it should validate the config of the entire folder.