aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_image_dependencies
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-09-19 20:46:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-19 20:46:17 +0000
commit661d78e5ad9a831a4e6c36287d17ff6829b062d0 (patch)
treef5f41a74581dd1439a30c1c48ef36464fc110aae /ansible/roles/install_image_dependencies
parent3ef3ad677461c9677c701ec19760cc47af9ff492 (diff)
parent080acf429bf65a22eda3b5bacd24402bb261714a (diff)
Merge "Fixed few gaps when running on a minimal version of system"
Diffstat (limited to 'ansible/roles/install_image_dependencies')
-rw-r--r--ansible/roles/install_image_dependencies/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/install_image_dependencies/tasks/main.yml b/ansible/roles/install_image_dependencies/tasks/main.yml
index f3a3151c5..ffd30f33e 100644
--- a/ansible/roles/install_image_dependencies/tasks/main.yml
+++ b/ansible/roles/install_image_dependencies/tasks/main.yml
@@ -16,7 +16,7 @@
include: "{{ ansible_os_family }}.yml"
- name: Install core packages
- action: "{{ ansible_pkg_mgr }} name={{ item }} state=latest"
+ action: "{{ ansible_pkg_mgr }} name={{ item }} state=latest update_cache=yes"
register: pkg_mgr_results
retries: "{{ pkg_mgr_retries }}"
until: pkg_mgr_results|success