[FIX] Usersettings: FreeBSD has another pip package
This commit is contained in:
parent
49d7bb3fa7
commit
a9e89283a2
|
@ -3,14 +3,12 @@
|
||||||
|
|
||||||
- name: usersettings - Install required tools
|
- name: usersettings - Install required tools
|
||||||
become: yes
|
become: yes
|
||||||
when: (override_os_family is defined) | ternary(override_os_family,ansible_os_family) != "Darwin"
|
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- git
|
- git
|
||||||
- python3-pip
|
|
||||||
|
|
||||||
- name: usersettings - Install/ Update oh-my-zsh for current user
|
- name: usersettings - Install/ Update oh-my-zsh for current user
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
|
@ -28,7 +26,19 @@
|
||||||
- fzf_git.after != fzf_git.before
|
- fzf_git.after != fzf_git.before
|
||||||
|
|
||||||
- name: usersettings - Install pip virtualenvwrapper
|
- name: usersettings - Install pip virtualenvwrapper
|
||||||
|
when: usersetup_virtualenvwrapper
|
||||||
block:
|
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)
|
- name: usersettings - Install pip virtualenvwrapper (Debian)
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
|
@ -48,7 +58,6 @@
|
||||||
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" 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) == "Archlinux"
|
||||||
when: usersetup_virtualenvwrapper
|
|
||||||
- name: usersettings - Copy dotfiles
|
- name: usersettings - Copy dotfiles
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
|
|
Loading…
Reference in a new issue