]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/roles/init-system/tasks/python.yml
Feat(apt): Remove option `purge`
[ansible.git] / playbooks / debian / roles / init-system / tasks / python.yml
index 584c4f4d25423717354f4c92cb833a737b5d9996..e2667e165c30dc8a2190ea305fe99c523ec168d8 100644 (file)
@@ -7,7 +7,6 @@
     name: ['python', 'python2.7', 'python3', 'python-pip', 'python3-pip',
            'python-setuptools', 'python3-setuptools',
           ]
-    purge: yes
     state: latest
     update_cache: yes
   register: python
@@ -17,5 +16,5 @@
   shell: 'umask 022; {{ item }} -m pip install --upgrade
       "pip < 19.1" setuptools tox virtualenv virtualenvwrapper "wheel < 0.31.1"
       flake8 sphinx twine'
-  loop: ['python3', 'python2']
   when: python.changed
+  loop: ['python3', 'python2']