docker_compose(role): use community.docker.docker_compose_v2 module
Use the community.docker.docker_compose_v2 module as it supports proper changed handling out of the box, making the roles code more straightforward and work. Also just do a docker compose restart instead of having the custom docker compose reload script. https://docs.ansible.com/ansible/latest/collections/community/docker/docker_compose_v2_module.html
This commit is contained in:
parent
9f8d2d89cd
commit
ae60d6fea6
5 changed files with 21 additions and 48 deletions
|
|
@ -1,2 +1 @@
|
|||
docker_compose__configuration_files: [ ]
|
||||
docker_compose__restart_cmd: ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue