Re: dnf via ansible fails if baseurl is used on CentOS 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> Hi,
>
>
> I ran into an odd issue on CentOS 8, anyone seen this?
>
>
> When repos are configured to use baseurl instead of mirrorlist, the
> ansible dnf module fails.
>
> It is as if it is ignoring the baseurl configuration.
>
>
> #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOS&infra=$infra
> baseurl=http://my.local.repo.server/$contentdir/$releasever/BaseOS/$basearch/os/

Are you using a proxy somehow? Do you have proxy environment variables set
in your shell environment which may not exist in the ansible environment?

Regards,
Simon

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux