Skip to content
Snippets Groups Projects
Commit 44b41ffc authored by nimrod's avatar nimrod
Browse files

Better assertion in backports.

parent 5427f4e5
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
- name: Assert - name: Assert
assert: assert:
that: ansible_distribution == 'Debian' that:
- ansible_os_family == 'Debian'
- ansible_distribution_release in [ 'wheezy', 'jessie', 'trusty', 'precise', 'squeeze' ]
- name: Add backports repositories - name: Add backports repositories
with_items: with_items:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment