Author: Robert Kaussow <mail@thegeeklab.de>
Date:   Sat Feb 18 16:15:17 2023 +0100

    fix package name in molecule test
This commit is contained in:
Robert Kaussow 2023-02-18 15:23:55 +00:00
parent 472c270f96
commit b656fd1ad3

102
index.md
View File

@ -3,20 +3,20 @@ title: docker_engine
type: docs type: docs
--- ---
[![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.docker_engine) [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.docker_engine?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.docker_engine) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.docker_engine/src/branch/main/LICENSE) [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&amp;logoColor=white)](https://gitea.rknet.org/ansible/xoxys.docker_engine)
[![Build Status](https://img.shields.io/drone/build/ansible/xoxys.docker_engine?logo=drone&amp;server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.docker_engine)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.docker_engine/src/branch/main/LICENSE)
Setup docker engine. Setup docker engine.
<!--more--> <!--more-->
- [Default Variables](#default-variables) - [Default Variables](#default-variables)
- [dockerengine_base_dir](#dockerengine_base_dir) - [dockerengine_daemon_config](#dockerengine_daemon_config)
- [dockerengine_block_registries](#dockerengine_block_registries) - [dockerengine_daemon_config_extra](#dockerengine_daemon_config_extra)
- [dockerengine_cli_options](#dockerengine_cli_options)
- [dockerengine_docker_group_enabled](#dockerengine_docker_group_enabled) - [dockerengine_docker_group_enabled](#dockerengine_docker_group_enabled)
- [dockerengine_http_proxy](#dockerengine_http_proxy) - [dockerengine_http_proxy](#dockerengine_http_proxy)
- [dockerengine_https_proxy](#dockerengine_https_proxy) - [dockerengine_https_proxy](#dockerengine_https_proxy)
- [dockerengine_insecure_registries](#dockerengine_insecure_registries)
- [dockerengine_networks](#dockerengine_networks) - [dockerengine_networks](#dockerengine_networks)
- [dockerengine_networks_extra](#dockerengine_networks_extra) - [dockerengine_networks_extra](#dockerengine_networks_extra)
- [dockerengine_no_proxy](#dockerengine_no_proxy) - [dockerengine_no_proxy](#dockerengine_no_proxy)
@ -26,12 +26,7 @@ Setup docker engine.
- [dockerengine_packages](#dockerengine_packages) - [dockerengine_packages](#dockerengine_packages)
- [dockerengine_packages_extra](#dockerengine_packages_extra) - [dockerengine_packages_extra](#dockerengine_packages_extra)
- [dockerengine_registries](#dockerengine_registries) - [dockerengine_registries](#dockerengine_registries)
- [dockerengine_secure_registries](#dockerengine_secure_registries)
- [dockerengine_service](#dockerengine_service) - [dockerengine_service](#dockerengine_service)
- [dockerengine_storage_lv](#dockerengine_storage_lv)
- [dockerengine_storage_pvs](#dockerengine_storage_pvs)
- [dockerengine_storage_size](#dockerengine_storage_size)
- [dockerengine_storage_vg](#dockerengine_storage_vg)
- [dockerengine_usernamespace_enabled](#dockerengine_usernamespace_enabled) - [dockerengine_usernamespace_enabled](#dockerengine_usernamespace_enabled)
- [Dependencies](#dependencies) - [Dependencies](#dependencies)
@ -39,32 +34,24 @@ Setup docker engine.
## Default Variables ## Default Variables
### dockerengine_base_dir ### dockerengine_daemon_config
#### Default value #### Default value
```YAML ```YAML
dockerengine_base_dir: /var/lib/docker dockerengine_daemon_config:
- selinux-enabled: false
- log-driver: journald
- log-level: info
- live-restore: true
``` ```
### dockerengine_block_registries ### dockerengine_daemon_config_extra
#### Default value #### Default value
```YAML ```YAML
dockerengine_block_registries: [] dockerengine_daemon_config_extra: []
```
### dockerengine_cli_options
#### Default value
```YAML
dockerengine_cli_options:
- selinux-enabled
- log-driver=journald
- log-level=info
- signature-verification=false
``` ```
### dockerengine_docker_group_enabled ### dockerengine_docker_group_enabled
@ -91,14 +78,6 @@ dockerengine_http_proxy: _unset_
dockerengine_https_proxy: _unset dockerengine_https_proxy: _unset
``` ```
### dockerengine_insecure_registries
#### Default value
```YAML
dockerengine_insecure_registries: []
```
### dockerengine_networks ### dockerengine_networks
List of extra docker networks to create. For configuration detials see `docker_networks`. List of extra docker networks to create. For configuration detials see `docker_networks`.
@ -168,12 +147,17 @@ dockerengine_nsremap_user: dockremap
```YAML ```YAML
dockerengine_packages: dockerengine_packages:
- docker - docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
``` ```
### dockerengine_packages_extra ### dockerengine_packages_extra
The role requires epel repository and pip to work. You can use `dockerengine_packages_extra` to install these dependencys. The role requires epel repository and pip to work. You can use
`dockerengine_packages_extra` to install these dependencys.
#### Default value #### Default value
@ -202,14 +186,6 @@ dockerengine_registries:
state: present state: present
``` ```
### dockerengine_secure_registries
#### Default value
```YAML
dockerengine_secure_registries: []
```
### dockerengine_service ### dockerengine_service
#### Default value #### Default value
@ -218,44 +194,6 @@ dockerengine_secure_registries: []
dockerengine_service: docker dockerengine_service: docker
``` ```
### dockerengine_storage_lv
#### Default value
```YAML
dockerengine_storage_lv: lv_docker
```
### dockerengine_storage_pvs
#### Default value
```YAML
dockerengine_storage_pvs: _unset_
```
#### Example usage
```YAML
dockerengine_storage_pvs: /dev/sda
```
### dockerengine_storage_size
#### Default value
```YAML
dockerengine_storage_size: 100G
```
### dockerengine_storage_vg
#### Default value
```YAML
dockerengine_storage_vg: vg_docker
```
### dockerengine_usernamespace_enabled ### dockerengine_usernamespace_enabled
#### Default value #### Default value