community.general.docker_stack_task_info – Return information of the tasks on a docker stack¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.docker_stack_task_info
.
New in version 1.1.0: of community.general
Synopsis¶
Retrieve information on docker stacks tasks using the
docker stack
command on the target node (see examples).
Examples¶
- name: Shows stack info
community.general.docker_stack_task_info:
name: test_stack
register: result
- name: Show results
ansible.builtin.debug:
var: result.results
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Jose Angel Munoz (@imjoseangel)