Fix package_cloud install
Updating local-docker.yaml to fix the package_cloud install
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: I9fc012cec8b6db02b73cb96758a5a5942c37501f
diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml
index 329edd5..d47fd16 100644
--- a/packer/provision/local-docker.yaml
+++ b/packer/provision/local-docker.yaml
@@ -1,6 +1,13 @@
---
- import_playbook: ../common-packer/provision/docker.yaml
+- hosts: all
+ become_user: root
+ become_method: sudo
+
+ pre_tasks:
+ - include_role: name=lfit.system-update
+
tasks:
- name: 'Install rake gem'
command: 'gem install rake'