Bläddra i källkod

machine packages for container installation

master
förälder
incheckning
e084d3d3e5
4 ändrade filer med 22 tillägg och 9 borttagningar
  1. +3
    -0
      defaults/main.yaml
  2. +5
    -0
      tasks/debian_packages.yaml
  3. +13
    -6
      tasks/network.yaml
  4. +1
    -3
      vars/main.yaml

+ 3
- 0
defaults/main.yaml Visa fil

@@ -30,6 +30,9 @@ debian_backports_sources: "{{debian_sources}}"
debian_security_sources: "{{debian_sources}}"

common_package_intallation: true
machine_package_intallation: true
microcode_update: false

increase_maximum_inotify_user_watches: true

resolvconf_enabled: true

+ 5
- 0
tasks/debian_packages.yaml Visa fil

@@ -9,6 +9,11 @@
pkg: "{{ debian_boot_packages }}"
when: debian_boot_packages is defined

- name: debian machine packages
apt:
pkg: "{{ debian_machine_packages }}"
when: machine_package_intallation

- name: debian common packages
apt:
pkg: "{{ debian_common_packages }}"


+ 13
- 6
tasks/network.yaml Visa fil

@@ -1,8 +1,15 @@
---

- name: link resolv.conf
file:
src: /run/resolvconf/resolv.conf
dest: /etc/resolv.conf
state: link
force: true
- when: resolvconf_enabled
block:

- name: resolvconf debian package
apt:
pkg: resolvconf

- name: link resolv.conf
file:
src: /run/resolvconf/resolv.conf
dest: /etc/resolv.conf
state: link
force: true

+ 1
- 3
vars/main.yaml Visa fil

@@ -13,8 +13,6 @@ debian_base_packages:
# network tools
- iputils-ping

# network config
- resolvconf

# compression
- unzip
@@ -110,7 +108,7 @@ debian_common_packages:
# installation utils
- debootstrap

debian_hardware_packages:
debian_machine_packages:

# hardware utils
- pciutils