If you are really new then you are better off reading about the basics
first, for instance

https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html

This should give enough inspiration to get going with your task at hand.



On Wed, 22 Apr 2020 at 06:53, Quad Zero <quadze...@gmail.com> wrote:

> Vivek,
>
> Could you actually show that to me in code? I am very new to this.
>
> Thank you sir.
>
> On Wednesday, April 22, 2020 at 2:50:52 PM UTC+10, Vivek Kothawale wrote:
>>
>> 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 <quad...@gmail.com> 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 ansible...@googlegroups.com.
>>> 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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f0395e8d-460c-4d75-9340-8d7ce6fa1562%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/f0395e8d-460c-4d75-9340-8d7ce6fa1562%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwNnBttcaDzpfVE%3DQt46s9oAUHuE6Sk6T%2BECz4Y9rgAoEg%40mail.gmail.com.

Reply via email to