xoxys.docker_engine/README.md

221 lines
3.8 KiB
Markdown
Raw Normal View History

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_package](#dockerengine_package)
* [dockerengine_packages_extra](#dockerengine_packages_extra)
* [dockerengine_docker_group_enabled](#dockerengine_docker_group_enabled)
* [dockerengine_secure_registries](#dockerengine_secure_registries)
* [dockerengine_insecure_registries](#dockerengine_insecure_registries)
* [dockerengine_block_registries](#dockerengine_block_registries)
* [dockerengine_storage_vg](#dockerengine_storage_vg)
* [dockerengine_storage_lv](#dockerengine_storage_lv)
* [dockerengine_storage_size](#dockerengine_storage_size)
* [dockerengine_base_dir](#dockerengine_base_dir)
* [dockerengine_cli_options](#dockerengine_cli_options)
* [dockerengine_usernamespace_enabled](#dockerengine_usernamespace_enabled)
* [dockerengine_nsremap_user](#dockerengine_nsremap_user)
* [dockerengine_nsremap_range_start](#dockerengine_nsremap_range_start)
* [dockerengine_nsremap_range_length](#dockerengine_nsremap_range_length)
* [dockerengine_http_proxy](#dockerengine_http_proxy)
* [dockerengine_https_proxy](#dockerengine_https_proxy)
* [dockerengine_no_proxy](#dockerengine_no_proxy)
* [dockerengine_storage_pvs](#dockerengine_storage_pvs)
* [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-10-16 20:31:43 +00:00
### dockerengine_package
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
2018-12-12 22:25:36 +00:00
dockerengine_package: docker
2019-10-16 20:31:43 +00:00
```
### dockerengine_packages_extra
The role requires epel repository and pip to work .You can use `dockerengine_packages_extra` to install these dependencys.
#### Default value
```YAML
dockerengine_packages_extra: []
```
#### Example usage
2018-12-12 22:25:36 +00:00
2019-10-16 20:31:43 +00:00
```YAML
dockerengine_packages_extra:
- epel-release
- python2-pip
```
### dockerengine_docker_group_enabled
#### Default value
```YAML
dockerengine_docker_group_enabled: false
```
### dockerengine_secure_registries
#### Default value
```YAML
2018-12-12 22:25:36 +00:00
dockerengine_secure_registries: []
2019-10-16 20:31:43 +00:00
```
### dockerengine_insecure_registries
#### Default value
```YAML
2018-12-12 22:25:36 +00:00
dockerengine_insecure_registries: []
2019-10-16 20:31:43 +00:00
```
### dockerengine_block_registries
#### Default value
```YAML
2018-12-12 22:25:36 +00:00
dockerengine_block_registries: []
2019-10-16 20:31:43 +00:00
```
### dockerengine_storage_vg
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
2018-12-12 22:25:36 +00:00
dockerengine_storage_vg: vg_docker
2019-10-16 20:31:43 +00:00
```
### dockerengine_storage_lv
#### Default value
```YAML
2018-12-12 22:25:36 +00:00
dockerengine_storage_lv: lv_docker
2019-10-16 20:31:43 +00:00
```
### dockerengine_storage_size
#### Default value
```YAML
2018-12-12 22:25:36 +00:00
dockerengine_storage_size: 100G
2019-10-16 20:31:43 +00:00
```
### dockerengine_base_dir
#### Default value
```YAML
2018-12-12 22:25:36 +00:00
dockerengine_base_dir: /var/lib/docker
2019-10-16 20:31:43 +00:00
```
### dockerengine_cli_options
2019-01-13 22:33:41 +00:00
2019-10-16 20:31:43 +00:00
#### Default value
```YAML
2019-01-13 22:33:41 +00:00
dockerengine_cli_options:
- selinux-enabled
- log-driver=journald
2019-10-16 20:31:43 +00:00
- log-level=info
2019-01-13 22:33:41 +00:00
- signature-verification=false
2019-10-16 20:31:43 +00:00
```
### dockerengine_usernamespace_enabled
#### Default value
2019-01-13 22:33:41 +00:00
2019-10-16 20:31:43 +00:00
```YAML
dockerengine_usernamespace_enabled: false
2018-12-12 22:25:36 +00:00
```
2019-10-16 20:31:43 +00:00
### dockerengine_nsremap_user
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
dockerengine_nsremap_user: dockremap
```
### dockerengine_nsremap_range_start
#### Default value
```YAML
dockerengine_nsremap_range_start: 231072
```
### dockerengine_nsremap_range_length
#### Default value
```YAML
dockerengine_nsremap_range_length: 65536
```
### dockerengine_http_proxy
#### Default value
```YAML
dockerengine_http_proxy: _unset_
```
### dockerengine_https_proxy
#### Default value
```YAML
dockerengine_https_proxy: _unset
```
### dockerengine_no_proxy
#### Default value
```YAML
dockerengine_no_proxy: _unset_
```
### dockerengine_storage_pvs
#### Default value
```YAML
dockerengine_storage_pvs: _unset_
```
#### Example usage
2018-12-12 22:25:36 +00:00
2019-10-16 20:31:43 +00:00
```YAML
dockerengine_storage_pvs: /dev/sda
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)