diff --git a/defaults/main.yml b/defaults/main.yml index 6974534..74b1770 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. diff --git a/tasks/main.yml b/tasks/main.yml index f248279..8968c77 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 | length > 0