Skip to content

Commit

Permalink
Merge pull request #71 from guidograzioli/downstream_offline_patching…
Browse files Browse the repository at this point in the history
…_fix

Fix undefined facts when offline patching sso
  • Loading branch information
guidograzioli authored Apr 14, 2023
2 parents 6ac0c18 + 8d16e24 commit 3d37def
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/keycloak/tasks/rhsso_patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
- name: Set download patch archive path
ansible.builtin.set_fact:
patch_archive: "{{ keycloak_dest }}/{{ sso_patch_bundle }}"
patch_bundle: "{{ sso_patch_bundle }}"
patch_version: "{{ sso_patch_version }}"
when: sso_patch_version is defined

- name: Check download patch archive path
ansible.builtin.stat:
path: "{{ patch_archive }}"
register: patch_archive_path
when: sso_patch_version is defined
become: yes

- name: Perform patch download from RHN via JBossNetwork API
delegate_to: localhost
Expand Down

0 comments on commit 3d37def

Please sign in to comment.