From d817108a2d94d44771ec2395b884723bfa1159a2 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Wed, 30 Aug 2017 22:17:34 +0000 Subject: [PATCH] current --- defaults/main.yml | 24 ++++++++++++++++++++++-- templates/debootstrap_args.j2 | 1 + 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 83a2a5b..10be7fc 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,4 +1,24 @@ debian_mirror: http://deb.debian.org/debian -debootstrap_suite: jessie +debian_distribution: stretch +debian_components: + - main + - contrib + - non-free + +debootstrap_suite: "{{ debian_distribution }}" +debootstrap_components: "{{ debian_components }}" debootstrap_arch: amd64 -debootstrap_include: {} +debootstrap_include: + - linux-image-amd64 + - openssh-server + - python + - console-setup + - dbus + - acpi + - acpi-support + - mdadm + - cryptsetup + - lvm2 + - grub-pc + - bridge-utils + - busybox-static diff --git a/templates/debootstrap_args.j2 b/templates/debootstrap_args.j2 index 2701df4..bd58d43 100644 --- a/templates/debootstrap_args.j2 +++ b/templates/debootstrap_args.j2 @@ -1,4 +1,5 @@ --arch={{debootstrap_arch}} +--components={{debootstrap_components|join(',')}} {% if debootstrap_variant is defined %} --variant={{debootstrap_variant}} {% endif %}