@@ -6,4 +6,4 @@ bastion.lab.example.com ansible_user=root
[all:vars]
ocp_maj = "4.10"
ocp_z = "4.10.3"
-
+sso_z = "7.6.0"
@@ -52,4 +52,13 @@
validate_certs: no
loop: "{{ clusters }}"
+- name: Check RHSSO ZIP is there
+ stat:
+ path: "{{ ansible_facts['user_home'] }}/Downloads/rh-sso-{{ sso_z }}-server-dist.zip"
+ register: sso_zip
+ when: need_zip
+
+- assert:
+ that: sso_zip.stat.exists
...