From: Oleg Broytman Date: Mon, 6 Jan 2020 16:26:29 +0000 (+0300) Subject: Feat(python-packages): Use `exec` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=9ec8296b5329ee84c4d449231b54d77a313c2ec4;p=ansible.git Feat(python-packages): Use `exec` --- diff --git a/playbooks/roles/python-packages/tasks/main.yml b/playbooks/roles/python-packages/tasks/main.yml index e01e020..32edce7 100644 --- a/playbooks/roles/python-packages/tasks/main.yml +++ b/playbooks/roles/python-packages/tasks/main.yml @@ -28,7 +28,7 @@ - name: Upgrade Python packages become: true - shell: 'umask 022; {{ item }} -m pip install --upgrade + shell: 'umask 022; exec {{ item }} -m pip install --upgrade "pip < 19.1" setuptools tox virtualenv virtualenvwrapper "wheel < 0.31.1" flake8 sphinx twine' when: python.changed