A collection of Ansible roles for docker Stuff.
ruamel.yaml
pip install ruamel.yaml- Arch Linux
- Debian based
- Debian 10
- Debian 11
- Debian 12
- Ubuntu 20.04
- Ubuntu 22.04
- Ubuntu 24.04
You can install the memsource collection with the Ansible Galaxy CLI:
#> ansible-galaxy collection install bodsch.dockerTo install directly from GitHub:
#> ansible-galaxy collection install [email protected]:bodsch/ansible-collection-docker.gitYou can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:
---
collections:
- name: bodsch.dockerThe python module dependencies are not installed by ansible-galaxy. They can
be manually installed using pip:
pip install -r requirements.txtPlease read Contribution
The master Branch is my Working Horse includes the "latest, hot shit" and can be complete broken!
If you want to use something stable, please use a Tagged Version!
| Role | Build State | Description |
|---|---|---|
| bodsch.docker.docker | This role will fully configure and install dockerd. | |
| bodsch.docker.container | Ansible role for deployment of generic container applications. | |
| bodsch.docker.registry | Ansible role to install and configure container registry. | |
| bodsch.docker.registry_ui | Ansible role for installing and configuring registry-ui | |
| bodsch.docker.compose_file | Ansible role to manage docker compose file or fragments. |
| Name | Description |
|---|---|
compose_file |
Manage Docker Compose YAML files |
compose_files |
Manage multiple Docker Compose fragment files. |
container_directories |
Manage and create container directories. |
container_environments |
Manage environment and configuration files for containers. |
container_mounts |
Manage and migrate container mounts and volumes. |
docker_client_configs |
Manage Docker client configuration files. |
docker_common_config |
Manage the Docker daemon configuration file. |
docker_plugins |
Manage Docker plugins. |
docker_version |
Retrieve the current Docker Engine and API version. |
| Name | Description |
|---|---|
container_filter |
|
container_names |
|
container_images |
|
container_state |
|
container_volumes |
|
container_mounts |
|
container_environnments |
|
container_ignore_state |
|
container_with_states |
|
container_filter_by |
|
container_facts |
|
remove_custom_fields |
|
remove_source_handling |
|
changed |
|
update |
|
files_available |
|
reporting |
|
combine_registries |
|
validate_mountpoints |
|
validate_log_driver |
- Bodo Schulz
FREE SOFTWARE, HELL YEAH!