Skip to content

Return long ID in community.docker.docker_stack_task_info #379

Open
@koto-wheel

Description

@koto-wheel
SUMMARY

When using community.docker.docker_stack_task_info it makes sense to return a long format ID so we can use it to find the name of the corresponding container easily for example.

The idea is to add --no-trunc in the docker command executed inside the function docker_stack_task

ISSUE TYPE
  • Feature Request
COMPONENT NAME

community.docker.docker_stack_task_info

ADDITIONAL INFORMATION
  • If you want to find a container serving a service, we need to use the name "SERVICE_NAME.1.TASK_ID". It works if TASK_ID is in long format. With community.docker v2.6.0, the module community.docker.docker_stack_task_info returns a short format TASK_ID.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions