summaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_image_dependencies
diff options
context:
space:
mode:
authorMaciej Skrocki <maciej.skrocki@intel.com>2017-09-19 10:37:29 -0700
committerMaciej Skrocki <maciej.skrocki@intel.com>2017-09-19 10:37:29 -0700
commit080acf429bf65a22eda3b5bacd24402bb261714a (patch)
tree79c648ccb416ec4cd2d770dd103f792224e12665 /ansible/roles/install_image_dependencies
parent53a55a8e95ad31ef6af0978e871092ddeb2dc597 (diff)
Fixed few gaps when running on a minimal version of system
- we need to make sure we have lsof installed - we need to update cache inside the image, because we are unable to install some of them Change-Id: Ic555489779e9096540001cb9c62ea2ab25c1ae90 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
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