struggling with include files

I am seriously struggling with trying to include yml files in my top level play

I have prereqcheck.yml in which I want to set the host for the rest of the included files to use

Might be better asking this one on ansible-project.

Not looked in any detail but just wondering if you meant to use ‘include_vars’ (loads vars from a file) or actually include (pulls tasks into a play from a file).

Hope this helps,

Jon

Hi. It is the latter. The 2 forums seem to be very similar but I will try on the other. Thanks