diff --git a/roles/bootstrap-os/tasks/bootstrap-ubuntu.yml b/roles/bootstrap-os/tasks/bootstrap-ubuntu.yml index 2d3becd44..efd7a768a 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: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python-minimal when: need_bootstrap | failed - set_fact: