tecnativa.docker
Docker Setup
This helps you set up Docker servers along with all necessary Docker software.
Requirements
We only support Ansible with Python 3.
Supported operating systems are:
- Ubuntu:
- 16.04
- 18.04
- 20.04
- 22.04
Role Variables
Check the defaults
folder for all the variables you can change. The less obvious ones are explained in the code.
Example Playbook
- hosts: docker
roles:
- role: tecnativa.docker
vars:
docker_app_state: present
docker_compose_state: present
docker_engine_state: present
docker_machine_state: present
docker_swarm_state: present
For a more detailed example, see our test playbooks.
Docker Compose v2 Installation
We added a feature that allows you to install Docker Compose on hosts that automatically use Docker Compose v2. This is managed in the file tasks/compose.yml, which checks if a host is part of the compose_v2_servers
group.
Support
Licensed under Apache2 License.
Visit our GitHub project.
Report issues on our Issue Tracker.
Install the role from Ansible Galaxy here.
If you’re using Doodba, you’re in the right place! 👪🐳
This project and Doodba work independently, but they can work together smoothly. You can use this role for your Doodba hosts.
Author Information
This project is managed by:
Tecnativa is a consulting company that specializes in Odoo, providing services for Odoo development, installation, maintenance, and hosting.