Hi

You could use variable and reference that variable inside playbook.
I this way you don't have to repeat on call same path mutiple time instead
you can call that variable.

Thanks,
Vivek

On Wed, Apr 22, 2020, 10:14 AM Quad Zero <[email protected]> wrote:

> G'day all Ansible gurus,
>
> I am very new to Ansible and I am learning through youtube videos as I am
> enquiring about this problem. It might be a simple one to some of you guys:
>
> So I have multiple servers on my System. I have a VM by the name of YUM
> which has all the updates (updates folder) on its /var/www/html folder so
> it can be referenced from other systems if it was done manually (which is
> what i have been doing until now).
>
> How do I specify this folder in Ansible to all other hosts?
>
> For eg:
>
> if my YUM server has all its updates in
> http://192.168.0.5/rhel6pathes/april/
>
> how do i get the other servers to look at this location and update it from
> here?
>
> Thank you so much.
>
>
>
> --
> 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/ad7b76e9-6307-46f4-936a-b5cbfc7302e0%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/ad7b76e9-6307-46f4-936a-b5cbfc7302e0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAA420E-igPYdE6%2Bna8T%3D432YdnEahMtVauK03hhhiLytLAcSdQ%40mail.gmail.com.

Reply via email to