From d8586946986efa5ef65c70418e818a1c2282e1e5 Mon Sep 17 00:00:00 2001 From: Geoff Jacobs Date: Fri, 17 Jan 2020 14:04:44 +1100 Subject: [PATCH] ITOPSENG-395 allowing for a version to be forced (to handle milestone/beta builds) --- roles/product_install/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/product_install/tasks/main.yml b/roles/product_install/tasks/main.yml index 81cf0d0..ea1e85a 100644 --- a/roles/product_install/tasks/main.yml +++ b/roles/product_install/tasks/main.yml @@ -77,7 +77,8 @@ set_fact: atl_download_version: "{{ atl_product_version }}" when: (not cached.stat.exists) or - atl_product_version is version(atl_cached_version, '>') + atl_product_version is version(atl_cached_version, '>') or + force_version_update is defined - name: "Case: Cached version is higher, ignore supplied" set_fact: