Index of all Collection Environment Variables
The following index documents all environment variables declared by plugins in collections. Environment variables used by the ansible-core configuration are documented in Ansible Configuration Settings.
- ANSIBLE_DOCKER_PRIVILEGED
Whether commands should be run with extended privileges.
Note that this allows command to potentially break out of the container. Use with care!
Used by: community.docker.docker connection plugin, community.docker.docker_api connection plugin
- ANSIBLE_DOCKER_TIMEOUT
Controls how long we can wait to access reading output from the container once execution started.
Used by: community.docker.docker connection plugin, community.docker.docker_api connection plugin
- ANSIBLE_DOCKER_WORKING_DIR
See the documentations for the options where this environment variable is used.
Used by: community.docker.docker connection plugin, community.docker.docker_api connection plugin
- ANSIBLE_INVENTORY_USE_EXTRA_VARS
Merge extra vars into the available variables for composition (highest precedence).
Used by: community.docker.docker_containers inventory plugin, community.docker.docker_machine inventory plugin, community.docker.docker_swarm inventory plugin
- ANSIBLE_NSENTER_PID
PID to attach with using nsenter.
The default should be fine unless you are attaching as a non-root user.
- DOCKER_API_VERSION
The version of the Docker API running on the Docker Host.
Defaults to the latest version of the API supported by this collection and the docker daemon.
If the value is not specified in the task, the value of environment variable
DOCKER_API_VERSIONwill be used instead. If the environment variable is not set, the default value will be used.Used by: community.docker.docker_api connection plugin, community.docker.docker_containers inventory plugin
- DOCKER_HOST
The URL or Unix socket path used to connect to the Docker API. To connect to a remote host, provide the TCP connection string. For example,
tcp://192.0.2.23:2376. If TLS is used to encrypt the connection, the module will automatically replacetcpin the connection URL withhttps.If the value is not specified in the task, the value of environment variable
DOCKER_HOSTwill be used instead. If the environment variable is not set, the default value will be used.Used by: community.docker.docker_api connection plugin, community.docker.docker_containers inventory plugin
- DOCKER_TIMEOUT
The maximum amount of time in seconds to wait on a response from the API.
If the value is not specified in the task, the value of environment variable
DOCKER_TIMEOUTwill be used instead. If the environment variable is not set, the default value will be used.Used by: community.docker.docker_api connection plugin, community.docker.docker_containers inventory plugin
- DOCKER_TLS
Secure the connection to the API by using TLS without verifying the authenticity of the Docker host server. Note that if
validate_certsis set totrueas well, it will take precedence.If the value is not specified in the task, the value of environment variable
DOCKER_TLSwill be used instead. If the environment variable is not set, the default value will be used.Used by: community.docker.docker_api connection plugin, community.docker.docker_containers inventory plugin
- DOCKER_TLS_HOSTNAME
When verifying the authenticity of the Docker Host server, provide the expected name of the server.
If the value is not specified in the task, the value of environment variable
DOCKER_TLS_HOSTNAMEwill be used instead. If the environment variable is not set, the default value will be used.Note that this option had a default value
localhostin older versions. It was removed in community.docker 3.0.0.Used by: community.docker.docker_api connection plugin, community.docker.docker_containers inventory plugin
- DOCKER_TLS_VERIFY
Secure the connection to the API by using TLS and verifying the authenticity of the Docker host server.
If the value is not specified in the task, the value of environment variable
DOCKER_TLS_VERIFYwill be used instead. If the environment variable is not set, the default value will be used.Used by: community.docker.docker_api connection plugin, community.docker.docker_containers inventory plugin