[FIX] Usersettings: FreeBSD has another pip package

This commit is contained in:
Jannik Beyerstedt 2022-02-13 20:28:25 +01:00
parent 49d7bb3fa7
commit a9e89283a2

View file

@ -3,14 +3,12 @@
- name: usersettings - Install required tools
become: yes
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) != "Darwin"
ansible.builtin.package:
name: "{{ packages }}"
state: present
vars:
packages:
- git
- python3-pip
- name: usersettings - Install/ Update oh-my-zsh for current user
ansible.builtin.git:
@ -28,7 +26,19 @@
- fzf_git.after != fzf_git.before
- name: usersettings - Install pip virtualenvwrapper
when: usersetup_virtualenvwrapper
block:
- name: usersettings - Install pip3
become: yes
when:
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) != "Darwin" and
(override_os_family is defined) | ternary(override_os_family,ansible_os_family) != "FreeBSD"
ansible.builtin.package:
name: "{{ packages }}"
state: present
vars:
packages:
- python3-pip
- name: usersettings - Install pip virtualenvwrapper (Debian)
become: yes
ansible.builtin.pip:
@ -48,7 +58,6 @@
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"
when: usersetup_virtualenvwrapper
- name: usersettings - Copy dotfiles
ansible.builtin.copy:
src: "{{ item.src }}"