From 943107115a451e278d70a3c4b61e8aeade144176 Mon Sep 17 00:00:00 2001 From: Sergey Putko Date: Tue, 15 Nov 2022 02:28:41 +0200 Subject: [PATCH] disable Centos Extras repo creation for OL9 (#9483) Centos 9 doesn't exists, and Centos 9-stream also doesn't have extras repo. --- roles/bootstrap-os/tasks/bootstrap-centos.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/bootstrap-os/tasks/bootstrap-centos.yml b/roles/bootstrap-os/tasks/bootstrap-centos.yml index 23ca011b7..007fdce22 100644 --- a/roles/bootstrap-os/tasks/bootstrap-centos.yml +++ b/roles/bootstrap-os/tasks/bootstrap-centos.yml @@ -84,6 +84,7 @@ - use_oracle_public_repo|default(true) - '''ID="ol"'' in os_release.stdout_lines' - (ansible_distribution_version | float) >= 7.6 + - (ansible_distribution_version | float) < 9 # CentOS ships with python installed