set the lang before running the pip tasks.
This commit is contained in:
parent
1cf0c29d49
commit
8977c31489
|
@ -25,30 +25,42 @@
|
|||
state: latest
|
||||
when: not pip3_path_executable.stat.exists
|
||||
|
||||
- name: Install a list of binary pip3 packages in wheels format
|
||||
- name: Install a list of binary pip3 packages in wheels format using /usr/local/bin/pip{{ py3_env_major_version }}
|
||||
pip: executable=/usr/local/bin/pip{{ py3_env_major_version }} name={{ py3_env_wheel_pip_pkgs }} state={{ py3_pip_pkgs_state }}
|
||||
environment:
|
||||
LANG: en_US.UTF-8
|
||||
when: pip3_path_executable.stat.exists
|
||||
|
||||
- name: Install a list of binary pip3 packages in wheels format
|
||||
- name: Install a list of binary pip3 packages in wheels format using /usr/bin/pip{{ py3_env_major_version }}
|
||||
pip: executable=/usr/bin/pip{{ py3_env_major_version }} name={{ py3_env_wheel_pip_pkgs }} state={{ py3_pip_pkgs_state }}
|
||||
environment:
|
||||
LANG: en_US.UTF-8
|
||||
when: not pip3_path_executable.stat.exists
|
||||
|
||||
- name: Install a list of versioned pip3 packages on EL
|
||||
- name: Install a list of versioned pip3 packages on EL using /usr/local/bin/pip{{ py3_env_major_version }}
|
||||
pip: executable=/usr/local/bin/pip{{ py3_env_major_version }} name={{ item.pkg }} version={{ item.version }} extra_args={{ item.extra_args | default('') }}
|
||||
with_items: '{{ py3_env_versioned_pip_pkgs | default ([]) }}'
|
||||
environment:
|
||||
LANG: en_US.UTF-8
|
||||
when: pip3_path_executable.stat.exists
|
||||
|
||||
- name: Install a list of versioned pip3 packages on EL
|
||||
- name: Install a list of versioned pip3 packages on EL using /usr/bin/pip{{ py3_env_major_version }}
|
||||
pip: executable=/usr/bin/pip{{ py3_env_major_version }} name={{ item.pkg }} version={{ item.version }} extra_args={{ item.extra_args | default('') }}
|
||||
with_items: '{{ py3_env_versioned_pip_pkgs | default ([]) }}'
|
||||
environment:
|
||||
LANG: en_US.UTF-8
|
||||
when: not pip3_path_executable.stat.exists
|
||||
|
||||
- name: Install a list of pip3 packages on EL
|
||||
- name: Install a list of pip3 packages on EL using /usr/local/bin/pip{{ py3_env_major_version }}
|
||||
pip: executable=/usr/local/bin/pip{{ py3_env_major_version }} name={{ py3_env_pip_pkgs }} state={{ py3_pip_pkgs_state }}
|
||||
environment:
|
||||
LANG: en_US.UTF-8
|
||||
when: pip3_path_executable.stat.exists
|
||||
|
||||
- name: Install a list of pip3 packages on EL
|
||||
- name: Install a list of pip3 packages on EL using /usr/bin/pip{{ py3_env_major_version }
|
||||
pip: executable=/usr/bin/pip{{ py3_env_major_version }} name={{ py3_env_pip_pkgs }} state={{ py3_pip_pkgs_state }}
|
||||
environment:
|
||||
LANG: en_US.UTF-8
|
||||
when: not pip3_path_executable.stat.exists
|
||||
|
||||
when: py3_env_install
|
||||
|
|
Loading…
Reference in New Issue