]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
debian-base: Don't install "busybox-static" on Proxmox-VE hosts
authorAlexander Barton <alex@barton.de>
Thu, 19 Nov 2015 17:04:13 +0000 (18:04 +0100)
committerAlexander Barton <alex@barton.de>
Thu, 19 Nov 2015 17:04:13 +0000 (18:04 +0100)
The "busybox-static" package conflicts with Proxmox-VE 3 packages;
so don't install it on such hosts.

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