From ca1a7e4e0f549bbd647da23b30dad0e60ba34efe Mon Sep 17 00:00:00 2001 From: Martin Fanning Date: Tue, 12 Nov 2024 12:50:27 +0000 Subject: [PATCH] Update main.yaml - add in original when check Update main.yaml - add in original when check --- roles/ohs/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ohs/tasks/main.yml b/roles/ohs/tasks/main.yml index 1614eeb..542bea5 100644 --- a/roles/ohs/tasks/main.yml +++ b/roles/ohs/tasks/main.yml @@ -41,7 +41,7 @@ - name: Patch OHS include_tasks: "patch.yml" - when: ohs_version is defined + when: ohs_version is defined and ohs_version_status.results | selectattr('rc','greaterthan',0) | list | count > 0 - name: Set up properties file include_tasks: "config.yml"