From fa759bdc030a929465db443850d78de181b760cc Mon Sep 17 00:00:00 2001 From: Dan Bohea Date: Thu, 6 Jun 2019 13:40:30 +0100 Subject: [PATCH 1/3] Fixes deprecation warnings about evaluating bare variables --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index f248279..4dffe21 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,7 +25,7 @@ meta: flush_handlers - include_tasks: docker-compose.yml - when: docker_install_compose + when: docker_install_compose | bool - include_tasks: docker-users.yml - when: docker_users + when: docker_users | bool From c70104b485a53fc4f17a1ec89230cef00abf8e7d Mon Sep 17 00:00:00 2001 From: Simon Lammer Date: Fri, 23 Aug 2019 12:25:41 +0200 Subject: [PATCH 2/3] Bump default docker_compose_version to 1.24.1 --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 2bcb620..3a9cc47 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -11,7 +11,7 @@ docker_restart_handler_state: restarted # Docker Compose options. docker_install_compose: true -docker_compose_version: "1.22.0" +docker_compose_version: "1.24.1" docker_compose_path: /usr/local/bin/docker-compose # Used only for Debian/Ubuntu. Switch 'stable' to 'edge' if needed. From f17b3995219e642c97b88db9a2ad993f27ccc5eb Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Fri, 23 Aug 2019 12:36:34 -0500 Subject: [PATCH 3/3] PR #146: Check list length instead of casting to bool. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 4dffe21..8968c77 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -28,4 +28,4 @@ when: docker_install_compose | bool - include_tasks: docker-users.yml - when: docker_users | bool + when: docker_users | length > 0