We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15a4a55 commit f524fefCopy full SHA for f524fef
2 files changed
ansible/roles/gdown/README.md
@@ -9,6 +9,5 @@ None.
9
## Manual Installation
10
11
```bash
12
-# Install gdown to download files from CMakeLists.txt
13
-pip3 install gdown
+pipx install gdown
14
```
ansible/roles/gdown/tasks/main.yaml
@@ -1,17 +1,4 @@
1
-# noqa: risky-shell-pipe, no-changed-when
2
-
3
- name: Install gdown to download files from CMakeLists.txt
4
- ansible.builtin.shell: |
5
- set -o pipefail
6
- pip3 list | grep -q gdown || pip3 install --break-system-packages gdown
7
- args:
8
- executable: /bin/bash
- when: rosdistro == 'jazzy'
-- name: Install gdown to download files from CMakeLists.txt (non-jazzy)
- ansible.builtin.pip:
- name:
- - gdown
15
- state: latest
16
- executable: pip3
17
- when: rosdistro != 'jazzy'
+ community.general.pipx:
+ name: gdown
+ executable: /usr/bin/pipx
0 commit comments