Skip to content

Commit

Permalink
fix: use python -m pip instead of wrapper script pip (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasPammer authored Jun 20, 2022
1 parent a4591a8 commit 868c124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
- name: >
Execute command to check if pip version has been altered
(this task adds changed_when behaviour for when 'forcereinstall' was used).
ansible.builtin.command: "{{ pip_executable }} --version"
ansible.builtin.command: "{{ pip_python_executable }} -m pip --version"
register: pip__register_shell_pip_version_after
changed_when: pip__register_shell_pip_version.stdout != pip__register_shell_pip_version_after.stdout
when: pip_state == "forcereinstall"
Expand Down

0 comments on commit 868c124

Please sign in to comment.