Patching using local repository

4 views
Skip to first unread message

Dung Do

unread,
May 31, 2019, 9:32:55 AM5/31/19
to Ansible Project
I am thinking about pointing Ansible to my local repository for updates. How do I accomplish the task? And more importantly, is pointing Ansible to local repository the right way to design Ansible patching architect?

Dick Visser

unread,
May 31, 2019, 1:03:04 PM5/31/19
to ansible...@googlegroups.com
On Fri, 31 May 2019 at 15:33, Dung Do <dongo...@gmail.com> wrote:
>
> I am thinking about pointing Ansible to my local repository for updates. How do I accomplish the task? And more importantly, is pointing Ansible to local repository the right way to design Ansible patching architect?


What repositories? And updates for what?
OS updates, ansible updates, software updates?

Also, what do you mean by "design Ansible patching architect"?

Please give some more information.


> --
> 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-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fcf013fc-0caf-48b2-b31d-ee61fe80712a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

Dung Do

unread,
May 31, 2019, 1:22:11 PM5/31/19
to ansible...@googlegroups.com, dick....@geant.org
Hi Dick
What repositories? And updates for what? Centos repository. OS  and security updates

Also, what do you mean by "design Ansible patching architect"? when I say design Ansible patching architect I meant the way I am planning to set up patching so Ansible pointing to a local repository, instead of a regular repository makes sense. The reason I am thinking about pointing Ansible to the local repository is because our Ansible clients don't have access to the internet. 


Jonathan Lozada De La Matta

unread,
May 31, 2019, 1:26:16 PM5/31/19
to ansible...@googlegroups.com, dick....@geant.org
use the yum and yum repository modules to do this. With the yum repository module you point your servers to the web servers that host the rpms. If you google around you can find guides on how to create a yum repository. The biggest thing is too make sure your servers are not that far from the yum repo. For example, my DC is in Atlanta and my yum repo is in Japan. 


For more options, visit https://groups.google.com/d/optout.


--

Jonathan Cha'gara Lozada De La Matta

He / Him / His

Automation Practice

Senior Automation Consultant & Automation CoP Manager

Red Hat


 

Reply all
Reply to author
Forward
0 new messages