Skip to content

Commit 3f1df06

Browse files
committed
empty pip package list
Signed-off-by: Pete Nuwayser <pnuw@ibm.com>
1 parent fde2668 commit 3f1df06

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tasks/extra-packages.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,16 @@
2323
version: "{{ item.version | default(omit) }}"
2424
executable: "{{ item.executable | default('pip3') }}"
2525
extra_args: "--user"
26+
loop: "{{ pip_packages }}"
27+
when: pip_packages | length > 0
28+
2629
- name: Install global Pipx packages.
2730
command: "pipx install {{ item.name | default(item) }}"
2831
args:
2932
creates: "{{ ansible_env.HOME }}/.local/pipx/venvs/{{ item.name | default(item) }}"
3033
loop: "{{ pipx_packages }}"
3134
when: pipx_packages | length > 0
3235

33-
loop: "{{ pip_packages }}"
34-
3536
- name: Install global Ruby gems.
3637
gem:
3738
name: "{{ item.name | default(item) }}"

0 commit comments

Comments
 (0)