aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-10-20 01:34:44 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-20 01:34:44 +0000
commitbfb5d410044c6aad8c21598f6e0e2b5f2c3169c1 (patch)
tree7994ef1e22687de027dcb1619b2a957de5fd5205
parent91580e1d77cbb08f52221f9be96b7b7de36f0973 (diff)
parent501ec853503e148d806ce349ec355d41537d068c (diff)
Merge "Pulling dockers using ansible also requires docker-py package."
-rw-r--r--supporting/servers/roles/elk/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/supporting/servers/roles/elk/tasks/main.yml b/supporting/servers/roles/elk/tasks/main.yml
index 7628f378..cc544be5 100644
--- a/supporting/servers/roles/elk/tasks/main.yml
+++ b/supporting/servers/roles/elk/tasks/main.yml
@@ -26,6 +26,18 @@
become: true
apt: name=docker-engine
+- name: install pip
+ apt:
+ pkg:{{ item }} state=installed
+ state: installed
+ with_items:
+ - python-dev
+ - python-pip
+
+- name: install docker-py
+ pip:
+ name: docker-py
+
- name: pulling elasticsearch and kibana
become: true
docker_image: name={{ item }} state=present