[CORD-2891]
Update docker related python packages (in 4 places...)
Change-Id: Ifa1202aa5c441ad45d78fa7272e262fedc93efd9
diff --git a/ansible/roles/docker/tasks/debian.yml b/ansible/roles/docker/tasks/debian.yml
index 36a8bca..95413d0 100644
--- a/ansible/roles/docker/tasks/debian.yml
+++ b/ansible/roles/docker/tasks/debian.yml
@@ -1,4 +1,4 @@
-
+---
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,9 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
----
-
- name: Trust docker apt key
apt_key:
data={{ lookup('file', 'docker_apt_key.gpg') }}
@@ -40,7 +37,7 @@
- name: Debian docker-py is present
pip:
- name: "docker==2.4.2"
+ name: "docker==3.2.1"
state: present
tags: [docker]
diff --git a/roles/compute-node/tasks/main.yml b/roles/compute-node/tasks/main.yml
index 910e428..632b4c7 100644
--- a/roles/compute-node/tasks/main.yml
+++ b/roles/compute-node/tasks/main.yml
@@ -96,7 +96,7 @@
- name: Ensure Docker Ansible Support
become: yes
pip:
- name: "docker==2.4.2"
+ name: "docker==3.2.1"
- name: Set Default Password
become: yes
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml
index 9879979..1b738d5 100644
--- a/roles/docker/tasks/main.yml
+++ b/roles/docker/tasks/main.yml
@@ -1,4 +1,4 @@
-
+---
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,9 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
----
-
- name: Prereqs and SSL support for apt for SSL
become: yes
apt:
@@ -50,8 +47,8 @@
pip:
name: "{{ item }}"
with_items:
- - "docker==2.4.2"
- - "docker-compose==1.15.0"
+ - "docker==3.2.1"
+ - "docker-compose==1.20.1"
- name: Make current user part of the Docker group
become: yes
diff --git a/roles/maas/tasks/main.yml b/roles/maas/tasks/main.yml
index 4510464..057398f 100644
--- a/roles/maas/tasks/main.yml
+++ b/roles/maas/tasks/main.yml
@@ -47,7 +47,7 @@
- name: Ensure Docker Ansible Support
become: yes
pip:
- name: "docker==2.4.2"
+ name: "docker==3.2.1"
- name: Stop Containers
become: yes