From 896d09ce803b905369c6931d1cd335251bdd2d67 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 7 Mar 2022 13:17:21 +0100 Subject: [PATCH] use "has_pulp2" variable --- roles/satellite-clone/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/satellite-clone/tasks/main.yml b/roles/satellite-clone/tasks/main.yml index 5e22337..0882002 100644 --- a/roles/satellite-clone/tasks/main.yml +++ b/roles/satellite-clone/tasks/main.yml @@ -322,14 +322,14 @@ - reset_pulp_data - not clone_pulp_data_exists - not online_backup - - satellite_version in ["6.6", "6.7", "6.8", "6.9"] + - has_pulp2 - include_tasks: reset_pulpcore_data.yml when: - reset_pulp_data - not clone_pulp_data_exists - not online_backup - - satellite_version not in ["6.6", "6.7", "6.8", "6.9"] + - not has_pulp2 - name: Wait 60 seconds for services to be fully up wait_for: timeout=60