Skip to content

Commit

Permalink
python: fix pip3 check as well
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Mar 4, 2024
1 parent 96c4064 commit 11fb131
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/python/tasks/subtasks/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
- name: "Replace 'python3.8' with 'python3'"
ansible.builtin.shell: "sed -i 's/python3.8/python3/g' /usr/local/bin/pip"

- name: "Find System pip3 path"
ansible.builtin.command: "which pip3"
register: system_pip3_path

- name: "Check System pip3"
ansible.builtin.command: "cat /usr/local/bin/pip3"
ansible.builtin.command: "cat {{ system_pip3_path.stdout }}"
register: system_pip3

- name: "Fix System pip3"
Expand Down

0 comments on commit 11fb131

Please sign in to comment.