aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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