Using Yum module for Satellite repo

19 views
Skip to first unread message

Rahul Kumar

unread,
Oct 4, 2020, 11:57:12 PM10/4/20
to ansible...@googlegroups.com
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
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 ?

Dick Visser

unread,
Oct 5, 2020, 12:44:51 AM10/5/20
to ansible...@googlegroups.com

--


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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGH8rExTO-tSr%2BuRFiA5B53M4QxnET5jWXF3MEKPp9bjdz2DAA%40mail.gmail.com.


--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.

Rahul Kumar

unread,
Oct 5, 2020, 12:48:49 AM10/5/20
to ansible...@googlegroups.com
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!

Rahul Kumar

unread,
Oct 5, 2020, 1:00:13 AM10/5/20
to ansible...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages