2019-10-16 20:31:43 +00:00
|
|
|
# xoxys.docker-engine
|
|
|
|
|
|
|
|
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.docker-engine/status.svg)](https://drone.rknet.org/ansible/xoxys.docker-engine)
|
|
|
|
|
|
|
|
|
2019-11-06 20:14:24 +00:00
|
|
|
Install docker-engine
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
## Table of content
|
|
|
|
|
|
|
|
* [Default Variables](#default-variables)
|
|
|
|
* [dockerengine_base_dir](#dockerengine_base_dir)
|
2019-11-23 12:50:31 +00:00
|
|
|
* [dockerengine_block_registries](#dockerengine_block_registries)
|
2019-10-16 20:31:43 +00:00
|
|
|
* [dockerengine_cli_options](#dockerengine_cli_options)
|
2019-11-23 12:50:31 +00:00
|
|
|
* [dockerengine_docker_group_enabled](#dockerengine_docker_group_enabled)
|
2019-10-16 20:31:43 +00:00
|
|
|
* [dockerengine_http_proxy](#dockerengine_http_proxy)
|
|
|
|
* [dockerengine_https_proxy](#dockerengine_https_proxy)
|
2019-11-23 12:50:31 +00:00
|
|
|
* [dockerengine_insecure_registries](#dockerengine_insecure_registries)
|
2019-10-16 20:31:43 +00:00
|
|
|
* [dockerengine_no_proxy](#dockerengine_no_proxy)
|
2019-11-23 12:50:31 +00:00
|
|
|
* [dockerengine_nsremap_range_length](#dockerengine_nsremap_range_length)
|
|
|
|
* [dockerengine_nsremap_range_start](#dockerengine_nsremap_range_start)
|
|
|
|
* [dockerengine_nsremap_user](#dockerengine_nsremap_user)
|
2019-11-24 16:32:04 +00:00
|
|
|
* [dockerengine_packages](#dockerengine_packages)
|
2019-11-23 12:50:31 +00:00
|
|
|
* [dockerengine_packages_extra](#dockerengine_packages_extra)
|
2019-11-24 16:32:04 +00:00
|
|
|
* [dockerengine_packages_python](#dockerengine_packages_python)
|
2019-11-23 12:50:31 +00:00
|
|
|
* [dockerengine_secure_registries](#dockerengine_secure_registries)
|
2019-11-24 16:32:04 +00:00
|
|
|
* [dockerengine_service](#dockerengine_service)
|
2019-11-23 12:50:31 +00:00
|
|
|
* [dockerengine_storage_lv](#dockerengine_storage_lv)
|
2019-10-16 20:31:43 +00:00
|
|
|
* [dockerengine_storage_pvs](#dockerengine_storage_pvs)
|
2019-11-23 12:50:31 +00:00
|
|
|
* [dockerengine_storage_size](#dockerengine_storage_size)
|
|
|
|
* [dockerengine_storage_vg](#dockerengine_storage_vg)
|
|
|
|
* [dockerengine_usernamespace_enabled](#dockerengine_usernamespace_enabled)
|
2019-10-16 20:31:43 +00:00
|
|
|
* [Dependencies](#dependencies)
|
|
|
|
* [License](#license)
|
|
|
|
* [Author](#author)
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
---
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
## Default Variables
|
2019-01-13 22:33:41 +00:00
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_base_dir
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
#### Default value
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_base_dir: /var/lib/docker
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_block_registries
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_block_registries: []
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_cli_options
|
|
|
|
|
|
|
|
#### Default value
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_cli_options:
|
|
|
|
- selinux-enabled
|
|
|
|
- log-driver=journald
|
|
|
|
- log-level=info
|
|
|
|
- signature-verification=false
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### dockerengine_docker_group_enabled
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
dockerengine_docker_group_enabled: false
|
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_http_proxy
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_http_proxy: _unset_
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_https_proxy
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_https_proxy: _unset
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_insecure_registries
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_insecure_registries: []
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_no_proxy
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
#### Default value
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_no_proxy: _unset_
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_nsremap_range_length
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_nsremap_range_length: 65536
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_nsremap_range_start
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_nsremap_range_start: 231072
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_nsremap_user
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_nsremap_user: dockremap
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-24 16:32:04 +00:00
|
|
|
### dockerengine_packages
|
2019-01-13 22:33:41 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-24 16:32:04 +00:00
|
|
|
dockerengine_packages:
|
|
|
|
- docker
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_packages_extra
|
|
|
|
|
|
|
|
The role requires epel repository and pip to work .You can use `dockerengine_packages_extra` to install these dependencys.
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
2019-01-13 22:33:41 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_packages_extra: []
|
2018-12-12 22:25:36 +00:00
|
|
|
```
|
|
|
|
|
2019-11-24 16:32:04 +00:00
|
|
|
### dockerengine_packages_python
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
dockerengine_packages_python:
|
|
|
|
- name: docker-compose
|
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_secure_registries
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_secure_registries: []
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-24 16:32:04 +00:00
|
|
|
### dockerengine_service
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
dockerengine_service: docker
|
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_storage_lv
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_storage_lv: lv_docker
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_storage_pvs
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_storage_pvs: _unset_
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
#### Example usage
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_storage_pvs: /dev/sda
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_storage_size
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_storage_size: 100G
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_storage_vg
|
2019-10-16 20:31:43 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_storage_vg: vg_docker
|
2019-10-16 20:31:43 +00:00
|
|
|
```
|
|
|
|
|
2019-11-23 12:50:31 +00:00
|
|
|
### dockerengine_usernamespace_enabled
|
|
|
|
|
|
|
|
#### Default value
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
```YAML
|
2019-11-23 12:50:31 +00:00
|
|
|
dockerengine_usernamespace_enabled: false
|
2018-12-12 22:25:36 +00:00
|
|
|
```
|
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
## Dependencies
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
None.
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
## License
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
MIT
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-10-16 20:31:43 +00:00
|
|
|
## Author
|
2018-12-12 22:25:36 +00:00
|
|
|
|
2019-11-07 08:29:25 +00:00
|
|
|
[xoxys](https://gitea.rknet.org/xoxys)
|