From: Alexander Barton Date: Thu, 19 Nov 2015 17:04:13 +0000 (+0100) Subject: debian-base: Don't install "busybox-static" on Proxmox-VE hosts X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=376a4a0c2be1e58914129025419f5f4b22737eeb;p=AnsibleRoles.git debian-base: Don't install "busybox-static" on Proxmox-VE hosts The "busybox-static" package conflicts with Proxmox-VE 3 packages; so don't install it on such hosts. --- diff --git a/roles/debian-base/tasks/main.yml b/roles/debian-base/tasks/main.yml index 3ec7a19..48d393b 100644 --- a/roles/debian-base/tasks/main.yml +++ b/roles/debian-base/tasks/main.yml @@ -9,7 +9,6 @@ name={{ item }} with_items: - bash-completion - - busybox-static - ca-certificates - curl - debconf-utils @@ -26,6 +25,16 @@ - 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