Skip to content

Latest commit

 

History

History
148 lines (115 loc) · 4.17 KB

community.missing_collection.docker_configs_info_module.rst

File metadata and controls

148 lines (115 loc) · 4.17 KB

community.missing_collection.docker_configs_info

Get information about Docker Configs.

Version added: 0.4.0

The below requirements are needed on the host that executes this module.

  • docker
Parameter Choices/Defaults Comments
base_url
string
Default:
"unix://var/run/docker.sock"
docker unix sock location.
id
string
id of docker config

- name: get all configs
  community.missing_collection.docker_configs_info:
  register: '__'

- name: get info about one config
  community.missing_collection.docker_configs_info:
    id: '{{ __.configs[0].id }}'

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
attrs
dictionary
when success and defined id.
attributes of given config

configs
list
when success.
list of all the docker configs.



Authors