On Tue, Oct 20, 2015 at 9:39 PM, CyberCyber <
myn3w...@gmail.com> wrote:
> Can you elaborate on the several things that are wrong with the approach
> taken above? It seems dynamic variables do not carry over from each play. Is
> this intentional ?
play vars are not carry over, but host associated vars do, you just
need to access them through the host they are associated with.
> Your suggestion would work, but won't that require server_B to have access
> to server_A. What if that is not an option? It's possible to use fetch and
> store the file locally on the control server, but what if I am trying to
> avoid doing that? Is there another approach using slurp ?
slurp copies the file to the 'controller' (machine you run ansible
from), so the servers do not need any access to each other.
--
Brian Coca