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"