From 0322b69f63cd7812aa3258d25a5153bdc67d2d60 Mon Sep 17 00:00:00 2001 From: sneumann Date: Tue, 15 Nov 2016 17:49:14 +0100 Subject: [PATCH] Fix failure if image package index is outdated --- roles/bootstrap-os/tasks/bootstrap-ubuntu.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bootstrap-os/tasks/bootstrap-ubuntu.yml b/roles/bootstrap-os/tasks/bootstrap-ubuntu.yml index 2d3becd44..6ac0be56f 100644 --- a/roles/bootstrap-os/tasks/bootstrap-ubuntu.yml +++ b/roles/bootstrap-os/tasks/bootstrap-ubuntu.yml @@ -7,7 +7,7 @@ ignore_errors: True - name: Bootstrap | Install python 2.x - raw: DEBIAN_FRONTEND=noninteractive apt-get install -y python-minimal + raw: DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y python-minimal when: need_bootstrap | failed - set_fact: