WIP: Fix things on archlinux

This commit is contained in:
Jannik Beyerstedt 2023-08-04 18:47:11 +02:00
parent 47dd9508a6
commit 3a3453c388
2 changed files with 9 additions and 10 deletions

View File

@ -49,11 +49,10 @@
# VS Code - Python Development Tools
- name: devel - Python - Install python dev packages
when: user_lang_python == true
ansible.builtin.pip:
ansible.builtin.package:
name:
- autopep8
- python-autopep8 # TODO: not available in arch
# - pylint # must be installed in each venv individually!
executable: "{{ override_pip_exe | default(default_pip3_exe) }}"
- name: vscode - Python
when: user_vscode == true and user_lang_python == true
block:

View File

@ -41,12 +41,13 @@
vars:
packages:
- python3-pip
- name: usersettings - Install pip virtualenvwrapper (Debian)
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Debian"
- name: usersettings - Install pip virtualenvwrapper (Debian, Archlinux)
when:
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Debian" or
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Archlinux"
become: true
ansible.builtin.pip:
name: virtualenvwrapper
extra_args: --system
ansible.builtin.package:
name: python-virtualenvwrapper
- name: usersettings - Install pip virtualenvwrapper (macOS)
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Darwin"
environment:
@ -55,8 +56,7 @@
name: virtualenvwrapper
- name: usersettings - Install pip virtualenvwrapper (CentOS, ArchLinux)
when:
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Centos" or
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Archlinux"
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Centos"
become: true
ansible.builtin.pip:
name: virtualenvwrapper