.woodpecker | ||
defaults | ||
handlers | ||
meta | ||
molecule | ||
tasks | ||
templates/etc | ||
.gitignore | ||
.markdownlint.yml | ||
.prettierignore | ||
.yamllint | ||
LICENSE | ||
pyproject.toml | ||
README.md |
xoxys.dockerengine
Setup docker engine.
Table of content
- Requirements
- Default Variables
- dockerengine_daemon_config
- dockerengine_daemon_config_extra
- dockerengine_http_proxy
- dockerengine_https_proxy
- dockerengine_networks
- dockerengine_networks_extra
- dockerengine_no_proxy
- dockerengine_nsremap_range_length
- dockerengine_nsremap_range_start
- dockerengine_nsremap_user
- dockerengine_packages
- dockerengine_registries
- dockerengine_service
- dockerengine_service_override_unit
- dockerengine_usernamespace_enabled
- Dependencies
- License
- Author
Requirements
- Minimum Ansible version:
2.10
Default Variables
dockerengine_daemon_config
Default value
dockerengine_daemon_config:
selinux-enabled: false
log-driver: journald
log-level: info
live-restore: true
dockerengine_daemon_config_extra
Default value
dockerengine_daemon_config_extra: {}
Example usage
dockerengine_daemon_config_extra:
userns-remap: "{{ dockerengine_nsremap_user +':' + dockerengine_nsremap_user }}"
dockerengine_http_proxy
Default value
dockerengine_http_proxy: _unset_
dockerengine_https_proxy
Default value
dockerengine_https_proxy: _unset
dockerengine_networks
List of extra docker networks to create. For configuration detials see docker_networks
.
Default value
dockerengine_networks: []
Example usage
dockerengine_networks:
- name: my_network
driver: bridge
enable_ipv6: True
ipam_config:
- subnet: fdd1:ac8c:0557:7ce1::/64
force: False
state: present
dockerengine_networks_extra
Default value
dockerengine_networks_extra: []
dockerengine_no_proxy
Default value
dockerengine_no_proxy: _unset_
dockerengine_nsremap_range_length
Default value
dockerengine_nsremap_range_length: 65536
dockerengine_nsremap_range_start
Default value
dockerengine_nsremap_range_start: 231072
dockerengine_nsremap_user
Default value
dockerengine_nsremap_user: dockremap
dockerengine_packages
Default value
dockerengine_packages:
- docker-ce
- docker-ce-cli
- containerd.io
dockerengine_registries
List of docker registries to auto login
Default value
dockerengine_registries: []
Example usage
dockerengine_registries:
- registry: myregistry.example.com (optional)
username: docker
password: secure
reauthorize: False
state: present
dockerengine_service
Default value
dockerengine_service: docker
dockerengine_service_override_unit
Multiline string of options to add to the systemd
service override unit section.
Default value
dockerengine_service_override_unit: _unset_
Example usage
dockerengine_service_override_unit: |
After=time-sync.target
Requires=time-sync.target
dockerengine_usernamespace_enabled
Default value
dockerengine_usernamespace_enabled: false
Dependencies
None.
License
MIT