summaryrefslogtreecommitdiffstats
path: root/ansible/roles/docker/tasks
diff options
context:
space:
mode:
authorChornyi, TarasX <tarasx.chornyi@intel.com>2018-11-05 14:58:34 +0200
committerTaras Chornyi <tarasx.chornyi@intel.com>2018-11-20 16:13:56 +0000
commitde0d1c9cd88d3de20c69e229a289852b8f997eac (patch)
tree21ff360b73c5422af7287e33d15fabf85150847d /ansible/roles/docker/tasks
parente13f82dc70084480611bab5aa04ac126c0b1ff0e (diff)
Install barometer collectd container on all hosts
nsb_install.sh script will now install docker and barometer collectd container on all baremetal hosts. JIRA: YARDSTICK-1510 Change-Id: I927f96ec2e11b2111b76217597054a6471189f29 Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
Diffstat (limited to 'ansible/roles/docker/tasks')
-rw-r--r--ansible/roles/docker/tasks/Debian.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible/roles/docker/tasks/Debian.yml b/ansible/roles/docker/tasks/Debian.yml
index 7f998de45..a03040d88 100644
--- a/ansible/roles/docker/tasks/Debian.yml
+++ b/ansible/roles/docker/tasks/Debian.yml
@@ -14,3 +14,19 @@
---
- name: Install docker.io
action: "{{ ansible_pkg_mgr }} name=docker.io state=present force=yes"
+
+ - name: Update package manager cache
+ tags:
+ - cache_update
+ package:
+ update_cache: yes
+
+ - name: Install python-pip
+ package:
+ name: python-pip
+ state: present
+
+ - name: Install docker-py
+ pip:
+ name: docker-py
+ state: present