<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>I have created a repo server with lots of rpms organized into created repos
for the case where I have no external internet connection. I sent an
earlier email with the list to which I have added the /var/cache/yum from and
install.</DIV>
<DIV> </DIV>
<DIV>I can access these with, for example, <SPAN
style="FONT-FAMILY: ; LINE-HEIGHT: 13pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"><FONT
style="FONT-SIZE: 11pt">yum --disablerepo=* --enablerepo=xsce0.5-xo4
--enablerepo=koji* install xxx.</FONT></SPAN></DIV>
<DIV><SPAN
style="FONT-FAMILY: ; LINE-HEIGHT: 13pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"></SPAN> </DIV>
<DIV><SPAN
style="FONT-FAMILY: ; LINE-HEIGHT: 13pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa">But
if I just use yum install xxx, which ansible will use, it errors out on the
external repos that can not be reached. I would rather not have to edit
every repo file to set enabled to 1 or 0. I suppose I could have two
versions of /etc/yum.repos.d, but is there anything more elegant that can be
done, such as telling ansible to use <SPAN
style="FONT-FAMILY: ; LINE-HEIGHT: 13pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"><FONT
style="FONT-SIZE: 11pt">yum --disablerepo=* --enablerepo=xsce0.5-xo4
--enablerepo=koji* for yum?</FONT></SPAN></SPAN></DIV>
<DIV><SPAN
style="FONT-FAMILY: ; LINE-HEIGHT: 13pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: mangal; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"></SPAN> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">Tim</DIV></DIV></DIV></BODY></HTML>