From 139fed02688b83820e6ce22a7a2f381376ffd4ff Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Tue, 13 Feb 2024 10:41:13 +0100 Subject: [PATCH] candlepin_repositories: do not enable pki-core module on el9 --- roles/candlepin_repositories/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/candlepin_repositories/tasks/main.yml b/roles/candlepin_repositories/tasks/main.yml index 296f6c9ba..ad0cd7fc8 100644 --- a/roles/candlepin_repositories/tasks/main.yml +++ b/roles/candlepin_repositories/tasks/main.yml @@ -14,3 +14,5 @@ # https://github.com/ansible/ansible/issues/64852 args: creates: /etc/dnf/modules.d/pki-core.module + when: + - ansible_distribution_major_version == "8"