Closed mcanyucel closed 6 months ago
Thanks for creating this report! I added parsing of such logfmt messages in community.docker 3.8.1, can you try that one out to see whether this "cannot parse event from line" warning still pops up? (It should emit a proper warning about version
instead.)
I'll also take a look, but I probably won't manage before tomorrow :)
Thanks for creating this report! I added parsing of such logfmt messages in community.docker 3.8.1, can you try that one out to see whether this "cannot parse event from line" warning still pops up? (It should emit a proper warning about
version
instead.)I'll also take a look, but I probably won't manage before tomorrow :)
Sorry for the late reply. You're correct; in the version 3.8.1, the output is the proper warning:
[WARNING]: /var/lib/nomie/docker-compose.yaml: `version` is obsolete
SUMMARY
The warning pops up to report this. It is just a warning which possibly means that the module does not know how to handle when the obsolete
version
tag exists in a compose file and the Docker Compose complains about it.ISSUE TYPE
COMPONENT NAME
community.docker.docker_compose_v2
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Target OS: Debian bookworm
STEPS TO REPRODUCE
Create a stack with the following playbook
The compose file can be found at the project repo.
EXPECTED RESULTS
Create the stack.
ACTUAL RESULTS
The stack is created with an unexpected warning popping up, asking me to report itself.