aboutsummaryrefslogtreecommitdiffstats
path: root/supporting/servers/roles/elk
diff options
context:
space:
mode:
authorlinux_geek <taseer94@gmail.com>2016-10-18 21:42:32 +0500
committerTaseer Ahmed <taseer94@gmail.com>2016-10-18 17:11:19 +0000
commit501ec853503e148d806ce349ec355d41537d068c (patch)
tree6a3e8a21255550757bdca9182646e725880ea038 /supporting/servers/roles/elk
parentfc7bfe32ca05a9fa70e49cd7b1571940d9320d2c (diff)
Pulling dockers using ansible also requires docker-py package.
Change-Id: I107fc447335af6f5d44cdb2bd0ea74246ef17b29 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'supporting/servers/roles/elk')
-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