]> arthur.barton.de Git - AnsibleRoles.git/blobdiff - roles/apache2/tasks/main.yml
Update "apt" tasks to use lists
[AnsibleRoles.git] / roles / apache2 / tasks / main.yml
index 0a890a9403be393f8d8cf76a5b9dbb66c7fecd6d..a71af822842992e87dde603bc325f69365dc3c94 100644 (file)
@@ -5,13 +5,13 @@
   tags:
     - apache
     - packages
-  apt: >
-    state=present
-    name={{ item }}
-  with_items:
-    - apache2
-    - apache2-utils
-    - apachetop
+  apt:
+    statepresent
+    name: [
+      'apache2',
+      'apache2-utils',
+      'apachetop',
+    ]
   notify:
     - restart "apache2"