Skip to content

Commit

Permalink
Add size check when installing IAG packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kvelarde-itential committed Jan 3, 2025
1 parent 9c0d0ba commit fcea5aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions roles/gateway/tasks/download-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
state: present
with_items: "{{ gateway_packages }}"
register: gateway_packages_installed
when:
- gateway_packages is defined
- gateway_packages is iterable
- gateway_packages | length > 0
tags: install_gateway_packages

- name: Download Python packages
Expand Down
6 changes: 5 additions & 1 deletion roles/gateway/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@
name: "{{ item }}"
state: present
with_items: "{{ gateway_packages }}"
when: not offline_install
when:
- not offline_install
- gateway_packages is defined
- gateway_packages is iterable
- gateway_packages | length > 0
tags: install_gateway_packages

- name: Install Gateway packages (offline)
Expand Down

0 comments on commit fcea5aa

Please sign in to comment.