WIP: Fix things on archlinux
This commit is contained in:
parent
47dd9508a6
commit
3a3453c388
|
@ -49,11 +49,10 @@
|
||||||
# VS Code - Python Development Tools
|
# VS Code - Python Development Tools
|
||||||
- name: devel - Python - Install python dev packages
|
- name: devel - Python - Install python dev packages
|
||||||
when: user_lang_python == true
|
when: user_lang_python == true
|
||||||
ansible.builtin.pip:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- autopep8
|
- python-autopep8 # TODO: not available in arch
|
||||||
# - pylint # must be installed in each venv individually!
|
# - pylint # must be installed in each venv individually!
|
||||||
executable: "{{ override_pip_exe | default(default_pip3_exe) }}"
|
|
||||||
- name: vscode - Python
|
- name: vscode - Python
|
||||||
when: user_vscode == true and user_lang_python == true
|
when: user_vscode == true and user_lang_python == true
|
||||||
block:
|
block:
|
||||||
|
|
|
@ -41,12 +41,13 @@
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- name: usersettings - Install pip virtualenvwrapper (Debian)
|
- name: usersettings - Install pip virtualenvwrapper (Debian, Archlinux)
|
||||||
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Debian"
|
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
|
become: true
|
||||||
ansible.builtin.pip:
|
ansible.builtin.package:
|
||||||
name: virtualenvwrapper
|
name: python-virtualenvwrapper
|
||||||
extra_args: --system
|
|
||||||
- name: usersettings - Install pip virtualenvwrapper (macOS)
|
- name: usersettings - Install pip virtualenvwrapper (macOS)
|
||||||
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Darwin"
|
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Darwin"
|
||||||
environment:
|
environment:
|
||||||
|
@ -55,8 +56,7 @@
|
||||||
name: virtualenvwrapper
|
name: virtualenvwrapper
|
||||||
- name: usersettings - Install pip virtualenvwrapper (CentOS, ArchLinux)
|
- name: usersettings - Install pip virtualenvwrapper (CentOS, ArchLinux)
|
||||||
when:
|
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) == "Centos"
|
||||||
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) == "Archlinux"
|
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
name: virtualenvwrapper
|
name: virtualenvwrapper
|
||||||
|
|
Loading…
Reference in a new issue