]> arthur.barton.de Git - AnsibleRoles.git/blobdiff - roles/debian-base/tasks/main.yml
debian-base: Don't install "busybox-static" on Proxmox-VE hosts
[AnsibleRoles.git] / roles / debian-base / tasks / main.yml
index 3ec7a194413409d25d8c94b9c5cf892f91747fcf..48d393b8d53d81d81956a49612ef816069a770fa 100644 (file)
@@ -9,7 +9,6 @@
     name={{ item }}
   with_items:
     - bash-completion
-    - busybox-static
     - ca-certificates
     - curl
     - debconf-utils
     - telnet-ssl
     - vim
 
+- name: install common packages (non Proxmox-VE hosts)
+  tags:
+    - packages
+  apt: >
+    state=installed
+    name={{ item }}
+  with_items:
+    - busybox-static
+  when: "ansible_kernel.find('pve') < 1"
+
 - name: install Linux kernel packages (amd64; non Proxmox-VE hosts)
   tags:
     - packages