]> arthur.barton.de Git - AnsibleRoles.git/blobdiff - roles/ubuntu-base/tasks/main.yml
Update "apt" tasks to use lists
[AnsibleRoles.git] / roles / ubuntu-base / tasks / main.yml
index d0ff78820bdb9efd1e5c76bf0b6f2139bffabf3d..7e11139097a4e41e6647936c98b7f97eea3e437f 100644 (file)
@@ -4,25 +4,25 @@
 - name: install common packages
   tags:
     - packages
-  apt: >
-    state=present
-    name={{ item }}
-  with_items:
-    - bash-completion
-    - busybox-static
-    - ca-certificates
-    - curl
-    - debconf-utils
-    - etckeeper
-    - git
-    - htop
-    - less
-    - linux-image-generic
-    - lsb-base
-    - lsb-release
-    - psmisc
-    - net-tools
-    - screen
-    - sudo
-    - telnet-ssl
-    - vim
+  apt:
+    statepresent
+    name: [
+      'bash-completion',
+      'busybox-static',
+      'ca-certificates',
+      'curl',
+      'debconf-utils',
+      'etckeeper',
+      'git',
+      'htop',
+      'less',
+      'linux-image-generic',
+      'lsb-base',
+      'lsb-release',
+      'psmisc',
+      'net-tools',
+      'screen',
+      'sudo',
+      'telnet-ssl',
+      'vim',
+    ]