8000 Add pip configuration role to support break-system-packages by sachinn403 · Pull Request #4 · regex-33/Security-Engineer-Toolkit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add pip configuration role to support break-system-packages #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 25, 2025

Conversation

sachinn403
Copy link
Contributor

This pull request adds a new Ansible role called set-pip-config to configure pip globally with the break-system-packages option.

Changes:

  • Added a role: roles/set-pip-config
    • Creates the file /etc/pip.conf.d/system-break.conf with the necessary pip configuration.
    • Includes tasks to verify and debug the presence of this file.
  • Updated playbooks/main.yml to include this role under the config tag.

Purpose:

Some modern Python environments (e.g. Python 3.10+) require the --break-system-packages option when installing with pip. This change ensures pip works correctly during automated installations and prevents related errors during Ansible runs.

Tested on Kali Linux with Python 3.13.

@regex-33 regex-33 merged commit 2d2c65c into regex-33:main Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0