aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--supporting/servers/roles/docker/tasks/main.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/supporting/servers/roles/docker/tasks/main.yml b/supporting/servers/roles/docker/tasks/main.yml
index 881650dd..1cf3bea0 100644
--- a/supporting/servers/roles/docker/tasks/main.yml
+++ b/supporting/servers/roles/docker/tasks/main.yml
@@ -28,12 +28,14 @@
- starting docker service
- name: install pip
- apt: pkg={{item}} state=installed
+ become: true
+ apt: name={{item}} state=installed
with_items:
- python-dev
- python-pip
- name: install docker-py
+ become: true
pip:
name: docker-py
-
+ version: 1.7.0