add_host affects the 'current run', all subsequent plays will have access, the distribtion of the plays in different files does not matter.
ansible reads all the files passed to it (directly or through includes), compiles the plays and then runs them in order, at this point the files they came from are irrelevant. -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8mj7zx5tN7SwA_n3aB3EYb%3DKVk4tmYx5ZSRB_2d9ujQRw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
