Skip to content

Commit

Permalink
Fixed docker_compose failed when using docker-py >=7.0.0 (#152)
Browse files Browse the repository at this point in the history
* Fixed docker_compose failed when using docker-py >=7.0.0
  • Loading branch information
pgjavier authored Mar 9, 2024
1 parent f10f806 commit d8b44d6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
collections:
- name: community.docker
version: 3.4.5
version: 3.8.0
2 changes: 1 addition & 1 deletion requirements_dev.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
roles:
- name: geerlingguy.docker
version: 6.1.0
version: 7.1.0
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit d8b44d6

Please sign in to comment.