From d8b44d6125c3d447fc4d2afa4c22ee3ef5929679 Mon Sep 17 00:00:00 2001 From: JP <32353423+pgjavier@users.noreply.github.com> Date: Sat, 9 Mar 2024 17:40:02 +0100 Subject: [PATCH] Fixed docker_compose failed when using docker-py >=7.0.0 (#152) * Fixed docker_compose failed when using docker-py >=7.0.0 --- CHANGELOG.md | 8 ++++++++ README.md | 2 +- requirements.yml | 2 +- requirements_dev.yml | 2 +- tasks/main.yml | 4 ++-- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a19f2c9..4e4a98d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.32.0] - 2024-03-09 + +### Fixed + +- Updated community.docker.docker_compose to community.docker.docker_compose_v2 +- Updated community.docker collection +- Updated geerlingguy.docker for tests + ## [0.31.0] - 2024-02-11 ### Changed diff --git a/README.md b/README.md index 6ee7de9..b73ba7f 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ The README file provides a basic overview only. Full documentation describing th Ansible Docker module is required on the Ansible controller. It can be installed using the below command: ``` -ansible-galaxy collection install community.docker:==3.4.5 +ansible-galaxy collection install community.docker:==3.8.0 ``` # Dependencies diff --git a/requirements.yml b/requirements.yml index b5ca04a..c134458 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,3 +1,3 @@ collections: - name: community.docker - version: 3.4.5 + version: 3.8.0 diff --git a/requirements_dev.yml b/requirements_dev.yml index 6af221f..fb9d7f1 100644 --- a/requirements_dev.yml +++ b/requirements_dev.yml @@ -1,3 +1,3 @@ roles: - name: geerlingguy.docker - version: 6.1.0 + version: 7.1.0 diff --git a/tasks/main.yml b/tasks/main.yml index 2697ab5..719e4f7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -71,7 +71,7 @@ ansible.builtin.meta: flush_handlers -- name: Install requried Python modules +- name: Install required Python modules ansible.builtin.pip: name: "{{ item }}" executable: pip3 @@ -137,7 +137,7 @@ - name: Start blockchain stack - community.docker.docker_compose: + community.docker.docker_compose_v2: project_src: "{{ blockchain_docker_compose_path }}" files: "{{ docker_compose_files.files | map(attribute='path') | list }}" remove_orphans: true