Closed dmke closed 6 years ago
I haven't touched the RPM URLs, mainly because I don't have a Redhat-based system at hand. But I suspect yum
will also stumble over the invalid cert, no?
I also am not sure, whether {{ item.repo|replace("packages.icinga.com", "packages.icinga.org") }}
is the best way to reconstruct the old repos (for removal).
It could easily be done like this as well:
- name: Remove old Apt repos
file:
path: "/etc/apt/sources.list.d/packages_icinga_org_{{ ansible_distribution|lower }}.list"
state: absent
or by introducing two new variables (basically a copy of the former icinga2_deb_repos
) and iterating over them. Since this is a matter of taste, I leave this up to you :-)
Someone is reporting the same issue with yum repo ; see : Icinga/icinga-packaging#108
packages.icinga.org has an invalid TLS certificate, so apt-get update fails loudly. This changes the repo URL to packages.icinga.com (which has a valid certificate, and to which packages.icinga.org also redirects).
This fixes #88.