]> git.phdru.name Git - ansible.git/commitdiff
Fix(python-dev-packages): Fix condition
authorOleg Broytman <phd@phdru.name>
Tue, 3 Sep 2019 01:07:23 +0000 (04:07 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 3 Sep 2019 01:07:23 +0000 (04:07 +0300)
playbooks/roles/python-dev-packages/tasks/main.yml

index 97cf9f5f539110229eb6164796e1146e6a608462..03670d12e10085235398ac0903b84436dc2b6871 100644 (file)
@@ -9,8 +9,7 @@
           ]
     state: latest
     update_cache: yes
-  when: ansible_facts.distribution_major_version == '9'
-  when: ansible_facts.os_family == 'Debian'
+  when: ansible_facts.os_family == 'Debian' and ansible_facts.distribution_major_version == '9'
 
 - name: Install development packages
   become: true