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.
34 lines
548 B
YAML
34 lines
548 B
YAML
---
|
|
- hosts: localhost
|
|
roles:
|
|
- role: sudo
|
|
when: ansible_user_id != "root"
|
|
- role: python
|
|
|
|
- role: zsh
|
|
- role: neovim
|
|
- role: tmux
|
|
- role: system-info
|
|
when: '"WSL" not in ansible_kernel'
|
|
|
|
- role: ag
|
|
- role: bat
|
|
- role: curl
|
|
- role: fzf
|
|
- role: gh
|
|
- role: git
|
|
- role: htop
|
|
- role: jp
|
|
- role: jq
|
|
- role: readline
|
|
- role: tidy
|
|
- role: tree
|
|
- role: yq
|
|
- role: watch
|
|
|
|
- role: llvm
|
|
- role: nodejs
|
|
|
|
- role: wsl
|
|
when: '"WSL" in ansible_kernel'
|