yum install through proxy

Hi all,

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

Thanks!
Chris

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