feat: install python tools with uv
This commit is contained in:
parent
2503391427
commit
f133c39a20
4 changed files with 12 additions and 9 deletions
|
|
@ -11,8 +11,6 @@ common:
|
|||
- base-devel
|
||||
- name: mosh
|
||||
desc: The best to connect to remote server!
|
||||
- name: python-pipx
|
||||
desc: To install python stuff
|
||||
deps:
|
||||
- name: aur/downgrade
|
||||
- name: pacman-contrib
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
base:
|
||||
- mkdocs
|
||||
- pipdeptree
|
||||
- copyparty
|
||||
- lesspass
|
||||
|
|
@ -7,8 +8,7 @@ base:
|
|||
- mkdocs
|
||||
- linkchecker
|
||||
- imagehash
|
||||
- pylint
|
||||
multimedia:
|
||||
- azlyrics2
|
||||
- epy-reader
|
||||
- name: rembg
|
||||
desc: Remove image background
|
||||
5
ansible/roles/uv_tools/tasks/main.yaml
Normal file
5
ansible/roles/uv_tools/tasks/main.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
- name: Install tool with UV
|
||||
register: uv_tool_install
|
||||
ansible.builtin.command: |
|
||||
uv tool install {{ item }}
|
||||
changed_when: "'already installed' not in uv_tool_install.stdout"
|
||||
|
|
@ -121,6 +121,11 @@
|
|||
- shell: "rm -rf /etc/pacman.d/gnupg && pacman-key --init && pacman-key --populate archlinux"
|
||||
- shell: "mkdir -p {{ home }}/.cache/monakhos; echo -n $(date --iso-8601=d) > {{ home }}/.cache/monakhos/pacman_key_state"
|
||||
|
||||
- name: Install global tools (Python packages)
|
||||
include_role:
|
||||
name: uv_tools
|
||||
with_items: "{{ lookup('pipe', 'cat python_packages.yaml | python3 parse_arch_packages.py all') | from_json }}"
|
||||
|
||||
# AUR SETUP
|
||||
- name: Create the aur_builder user
|
||||
become: yes
|
||||
|
|
@ -344,11 +349,6 @@
|
|||
include_role:
|
||||
name: popequer_notebook
|
||||
|
||||
- name: Install pip packages
|
||||
community.general.pipx:
|
||||
name: "{{ item }}"
|
||||
with_items: "{{ lookup('pipe', 'cat pip_packages.yaml | python3 parse_arch_packages.py all') | from_json }}"
|
||||
|
||||
- name: Enable bluetooth service
|
||||
become: true
|
||||
ansible.builtin.systemd_service:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue