roles/repositories/tasks/debian.yml

changeset 55
76686ae96f48
parent 48
af865a84224a
child 56
b5103023562e
--- a/roles/repositories/tasks/debian.yml
+++ b/roles/repositories/tasks/debian.yml
@@ -1,10 +1,10 @@
 ---
 
-- name: add aptitude
-  apt: name=aptitude state=installed
-
-- name: add python-apt
-  apt: name=python-apt state=installed
+- name: add ansible/apt dependencies
+  apt: name={{item}} state=installed
+  with_items:
+    - ansible
+    - python-apt
 
 - include: debian-stable.yml
   when: ansible_distribution_release != 'NA'

mercurial