1# This is the configuration file for the Docker inventory script: docker_inventory.py.
2#
3# You can define the following in this file:
4#
5#   defaults
6#        Defines a default connection. Defaults will be taken from this and applied to any values not provided
7#        for a host defined in the hosts list.
8#
9#    hosts
10#        If you wish to get inventory from more than one Docker host, define a hosts list.
11#
12# For the default host and each host in the hosts list define the following attributes:
13#
14#  host:
15#      description: The URL or Unix socket path used to connect to the Docker API.
16#      required: yes
17#
18#  tls:
19#     description: Connect using TLS without verifying the authenticity of the Docker host server.
20#     default: false
21#     required: false
22#
23#  tls_verify:
24#     description: Connect using TLS without verifying the authenticity of the Docker host server.
25#     default: false
26#     required: false
27#
28#  cert_path:
29#     description: Path to the client's TLS certificate file.
30#     default: null
31#     required: false
32#
33#  cacert_path:
34#     description: Use a CA certificate when performing server verification by providing the path to a CA certificate file.
35#     default: null
36#     required: false
37#
38#  key_path:
39#     description: Path to the client's TLS key file.
40#     default: null
41#     required: false
42#
43#  version:
44#     description: The Docker API version.
45#     required: false
46#     default: will be supplied by the docker-py module.
47#
48#  timeout:
49#     description: The amount of time in seconds to wait on an API response.
50#     required: false
51#     default: 60
52#
53#  default_ip:
54#     description: The IP address to assign to ansible_host when the container's SSH port is mapped to interface
55#     '0.0.0.0'.
56#     required: false
57#     default: 127.0.0.1
58#
59#  private_ssh_port:
60#     description: The port containers use for SSH
61#     required: false
62#     default: 22
63
64#defaults:
65#  host: unix:///var/run/docker.sock
66#  private_ssh_port: 22
67#  default_ip: 127.0.0.1
68
69#hosts:
70#  - host: tcp://10.45.5.16:4243
71#    private_ssh_port: 2022
72#    default_ip: 172.16.3.45
73#  - host: tcp://localhost:4243
74#    private_ssh_port: 2029
75