]> arthur.barton.de Git - AnsibleRoles.git/blobdiff - roles/apache2-php5/tasks/main.yml
Update "apt" tasks to use lists
[AnsibleRoles.git] / roles / apache2-php5 / tasks / main.yml
index 7bcd63f8f2c39aa318d831592ff12f256a13a554..1fa104868a0ec398e3c15b21e51891cca74a9a95 100644 (file)
   tags:
     - apache
     - packages
-  apt: >
-    state=present
-    name={{ item }}
-  with_items:
-    - libapache2-mod-php5
-    - php5
-    - php5-cli
-    - php5-mysql
+  apt:
+    statepresent
+    name: [
+      'libapache2-mod-php5',
+      'php5',
+      'php5-cli',
+      'php5-mysql',
+    ]
   notify:
     - restart "apache2"