]> git.phdru.name Git - ansible.git/commitdiff
Feat(python-packages): Use `exec`
authorOleg Broytman <phd@phdru.name>
Mon, 6 Jan 2020 16:26:29 +0000 (19:26 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 6 Jan 2020 16:26:29 +0000 (19:26 +0300)
playbooks/roles/python-packages/tasks/main.yml

index e01e020dfa39fea00ad78452dc00be488fd27870..32edce791ed3d0e69dbac627c7c692c063dca015 100644 (file)
@@ -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