Skip to content

Commit f524fef

Browse files
authored
build(ansible): install gdown via pipx (#6746)
Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
1 parent 15a4a55 commit f524fef

2 files changed

Lines changed: 4 additions & 18 deletions

File tree

ansible/roles/gdown/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ None.
99
## Manual Installation
1010

1111
```bash
12-
# Install gdown to download files from CMakeLists.txt
13-
pip3 install gdown
12+
pipx install gdown
1413
```
Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,4 @@
1-
# noqa: risky-shell-pipe, no-changed-when
2-
31
- 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
9-
when: rosdistro == 'jazzy'
10-
11-
- name: Install gdown to download files from CMakeLists.txt (non-jazzy)
12-
ansible.builtin.pip:
13-
name:
14-
- gdown
15-
state: latest
16-
executable: pip3
17-
when: rosdistro != 'jazzy'
2+
community.general.pipx:
3+
name: gdown
4+
executable: /usr/bin/pipx

0 commit comments

Comments
 (0)