From 3d95b81358130025cc3ba1abeb0af36bc160a90a Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Thu, 12 Oct 2017 01:04:27 +0000 Subject: [PATCH] use eatmydata to increase speed --- tasks/debian.yml | 8 ++++++-- tasks/main.yml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tasks/debian.yml b/tasks/debian.yml index 611c93b..236d027 100644 --- a/tasks/debian.yml +++ b/tasks/debian.yml @@ -1,4 +1,8 @@ --- -- name: debian apt install debootstrap - apt: pkg=debootstrap state=installed +- name: debian packages installed + apt: + pkg: "{{item}}" + with_items: + - debootstrap + - eatmydata diff --git a/tasks/main.yml b/tasks/main.yml index b017281..4d74c67 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,7 +20,7 @@ - name: debootstrap command: - debootstrap + eatmydata debootstrap {{debootstrap_args}} {{debootstrap_suite}} {{root_target_directory}}