]> arthur.barton.de Git - AnsibleRoles.git/blob - roles/debian-base/tasks/main.yml
debian-base: Don't install kernel package von Proxmox-VE hosts
[AnsibleRoles.git] / roles / debian-base / tasks / main.yml
1 ---
2 # tasks file for debian-base
3
4 - name: install common packages
5   tags:
6     - packages
7   apt: >
8     state=installed
9     name={{ item }}
10   with_items:
11     - bash-completion
12     - busybox-static
13     - ca-certificates
14     - curl
15     - debconf-utils
16     - etckeeper
17     - git
18     - htop
19     - less
20     - lsb-base
21     - lsb-release
22     - psmisc
23     - net-tools
24     - screen
25     - sudo
26     - telnet-ssl
27     - vim
28
29 - name: install Linux kernel packages (amd64; non Proxmox-VE hosts)
30   tags:
31     - packages
32   apt: >
33     state=installed
34     name=linux-image-amd64
35   when: "ansible_architecture == 'x86_64' and ansible_kernel.find('pve') < 1"
36
37 - name: install Linux kernel packages (i386; non Proxmox-VE hosts)
38   tags:
39     - packages
40   apt: >
41     state=installed
42     name=linux-image-686-pae
43   when: "ansible_architecture == 'i386' and ansible_kernel.find('pve') < 1"