Skip to content

Commit

Permalink
fix(stage1/pip) allow install duplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
gbloquel committed Dec 21, 2023
1 parent 33bb122 commit ca631fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/stage1_pip/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ packages_list:
- cryptography
- dnspython
- passlib
- duplicity

pip_root_folder_external: '/usr/lib/python3.11/EXTERNALLY-MANAGED'

Check failure on line 17 in roles/stage1_pip/defaults/main.yml

View workflow job for this annotation

GitHub Actions / ansible-lint

yaml[new-line-at-end-of-file]

No new line character at the end of file
5 changes: 5 additions & 0 deletions roles/stage1_pip/tasks/debian/_install.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
- name: 'Ensure not exists {{ pip_root_folder_external }}'
file:
path: '{{ pip_root_folder_external }}'
state: absent

- name: Install Python packages # noqa: command-instead-of-module command-instead-of-shell
shell: >
pip install --no-index --find-links=/var/cache/pip/ {{ packages_list | join(' ') }}

0 comments on commit ca631fe

Please sign in to comment.