yum install through proxy

10 views
Skip to first unread message

Chris Bidwell - NOAA Federal

unread,
Jun 18, 2019, 12:40:24 AM6/18/19
to ansible...@googlegroups.com

Hi all,

Is there any way to install an rpm through the yum module and direct that install through a proxy?

Thanks!
Chris

Michael Mullay

unread,
Jun 18, 2019, 1:10:58 AM6/18/19
to ansible...@googlegroups.com
Chris,

You should be able to use 'environment' keyword and set a variable for
the proxy per:

https://docs.ansible.com/ansible/latest/user_guide/playbooks_environment.html
> --
> 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/CAHKi8Cg%3DfpRCP8g4utnpiciYEwrDhD80Uv3wjfgK-x3UOw2PvQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages