From: Oleg Broytman Date: Tue, 6 Aug 2019 22:20:43 +0000 (+0300) Subject: Style(init-system): `loop` over `when` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=d9c51b73a82ff11686f764497329313023900c1d;p=ansible.git Style(init-system): `loop` over `when` --- diff --git a/playbooks/debian/roles/init-system/tasks/python.yml b/playbooks/debian/roles/init-system/tasks/python.yml index 584c4f4..447cb42 100644 --- a/playbooks/debian/roles/init-system/tasks/python.yml +++ b/playbooks/debian/roles/init-system/tasks/python.yml @@ -17,5 +17,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']