summaryrefslogtreecommitdiffstats
path: root/ansible/roles/docker/tasks
diff options
context:
space:
mode:
authorVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>2018-11-21 09:06:51 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-11-21 09:06:51 +0000
commit040afd6c0e656ab9aa5fa62ec0815f0f3510e5c6 (patch)
treec76a45972fd3905a9653b414e0d3a640d4e32b8e /ansible/roles/docker/tasks
parentc3a3d691a6712a4e7d4d72552b94413a6e50142a (diff)
parentde0d1c9cd88d3de20c69e229a289852b8f997eac (diff)
Merge "Install barometer collectd container on all hosts"
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