# Using Yum module for Satellite repo

**URL:** <https://forum.ansible.com/t/using-yum-module-for-satellite-repo/33957>\
**Category:** Ansible Project\
**Tags:** rhel\
**Created:** [October 5, 2020, 3:56am UTC](https://forum.ansible.com/t/using-yum-module-for-satellite-repo/33957 "2020-10-05T03:56:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Post date:** [October 5, 2020, 3:56am UTC](https://forum.ansible.com/t/using-yum-module-for-satellite-repo/33957/1 "2020-10-05T03:56:40Z")

</div>

Hi Ansible Gurus,

I have set up satellite server for hosting my RHEL based rpms.  
This is the snippet how my repo looks like:  
[rhel-7rpms]  
metadata\_expire = 1  
enabled\_metadata = 0  
sslclientcert = abc.pem  
baseurl = [https://mysatelliteserver](https://mysatelliteserver)  
ui\_repoid\_vars = basearch  
sslverify = 1  
name = Red Hat Enterprise Linux 7 Server - Extras (RPMs)  
sslclientkey = my-key.pem  
gpgkey =  
enabled = 1  
sslcacert = my-server-ca.pem  
gpgcheck = 1

I see there are lot of options which are not defined under yum module (such as cert related as shown in above snippet) . IN that case, how can i use yum module of ansible to install the packages from satellite server ?

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [October 5, 2020, 4:44am UTC](https://forum.ansible.com/t/using-yum-module-for-satellite-repo/33957/2 "2020-10-05T04:44:19Z")

</div>

[https://docs.ansible.com/ansible/latest/collections/ansible/builtin/yum\_module.html#parameter-conf\_file](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/yum_module.html#parameter-conf_file)

---

<div class="post-metadata">

**Author:** ![Rahul\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Post date:** [October 5, 2020, 4:48am UTC](https://forum.ansible.com/t/using-yum-module-for-satellite-repo/33957/3 "2020-10-05T04:48:14Z")

</div>

Hi Dick,

I think that is my question , i see some options in my yum configuration (as snippet shown in mail like sslclientkey,sslcacert etc.) but those are not there in yum module parameters list which you also shared!

---

<div class="post-metadata">

**Author:** ![Rahul\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Post date:** [October 5, 2020, 4:59am UTC](https://forum.ansible.com/t/using-yum-module-for-satellite-repo/33957/4 "2020-10-05T04:59:43Z")

</div>

Ok got, all these are defined in [https://docs.ansible.com/ansible/latest/collections/ansible/builtin/yum\_repository\_module.html](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/yum_repository_module.html)

Thanks
