From fb9af7eb92d9cc110910333b77093e8a55b4d958 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 5 May 2022 13:48:01 +0200 Subject: [PATCH] Check for requirements file to verify repo health Currently we check for presence of sync file to confirm that repo sync is healthy. Since sync file is not needed anymore we should check for smth else. Requirements file should be a good thing to check on since it's persistant and has expected naming. Change-Id: Iadb757adfd1d1bd4e5bca08662e2b9db1e96e319 --- playbooks/healthcheck-infrastructure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/healthcheck-infrastructure.yml b/playbooks/healthcheck-infrastructure.yml index 965b346f40..4680f90b4a 100644 --- a/playbooks/healthcheck-infrastructure.yml +++ b/playbooks/healthcheck-infrastructure.yml @@ -24,7 +24,7 @@ hosts: all_containers[0]:physical_hosts[0] gather_facts: yes vars: - repo_requirements_file: "repo_sync_complete" + repo_requirements_file: "{{ 'constraints/upper_constraints_' ~ requirements_git_install_branch ~ '.txt' }}" tasks: - name: Check the repo sync file on each repo server uri: