Make it so pip install --user still works
Debian has enabled `EXTERNALLY-MANAGED` from PEP 668 which breaks `pip install --user`. I think this is a terrible decision, understandable to want to avoid modifications in `/usr/lib/python*/site-packages` but to have that stop be installing packages in my home directory is a big mistake in terms of usability. In any case this patch moves the configuration of `pip.conf` to occur before any other roles are processed, seting the override flag, even though I'm never actually touching the real site packages.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- include_tasks: '{{ansible_os_family}}.yaml'
|
||||
|
||||
- include_tasks: 'unix.yaml'
|
||||
- include_tasks: 'Unix.yaml'
|
||||
when: ansible_os_family != "Windows"
|
||||
|
||||
Reference in New Issue
Block a user