From f280e6c4859b5edd1a7bf6ac84137398bc081c81 Mon Sep 17 00:00:00 2001 From: Ian Boden Date: Mon, 3 Mar 2025 13:20:57 +0000 Subject: [PATCH] [patch] upgrade from ICSP to IDMS maybe --- ibm/mas_devops/common_tasks/detect_airgap.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ibm/mas_devops/common_tasks/detect_airgap.yml b/ibm/mas_devops/common_tasks/detect_airgap.yml index f58e883a1e..f92ee9de68 100644 --- a/ibm/mas_devops/common_tasks/detect_airgap.yml +++ b/ibm/mas_devops/common_tasks/detect_airgap.yml @@ -18,6 +18,15 @@ - mas.ibm.com/idmsContent=ibm register: idms_lookup +# 3. Upgrade from ICSP to IDMS if necessary +# ----------------------------------------------------------------------------- +- name: "detect-airgap: upgrade ICSP to IDMS" + ansible.builtin.include_role: + name: ocp_idms + when: + - icsp_lookup.resources | length == 1 + - idms_lookup.resources | length == 0 + # 3. Set the airgap boolena and print debug # ----------------------------------------------------------------------------- - name: "detect-airgap : Set airgap_install property"