A few of my hosts need to have specific unique files copied to the host during configuration. They all share the same role but the files contents are different per host, I could go route of templating it but it would be a waste of time as I already have the static files.
So is there anything similar to the host_vars concept with respect to roles, e.g something like host_files/<host_name>/* where I can use the copy module on it?
Follow up question, copy doesn’t have a param to silently fail if source file does not exist. Out of the 20 hosts I use, only 3 have this static file that needs to be copied to it. So trying to the suggestion above, results in failures for files that do not exist.