Yes. I have my ansible code on the controller. First I set up the bastion 
host, then I want the variables from the bastion host file copied into the 
hosts file.  Then I'll set up the target host. 

You're right.  I can't believe I forgot that .  Thank you!

On Tuesday, November 7, 2023 at 11:45:58 AM UTC-5 Brian Coca wrote:

> You have 3 hosts involved, but you do not clarify which one you are
> updating: controller, bastion or target?
>
> I'm guessing you are using the play pointing at the target, but you
> probably need to delegate the task to the controller (aka localhost).
>
> -- 
> ----------
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/092e81b2-3810-42db-a263-031138ffec26n%40googlegroups.com.

Reply via email to