Go to file
cuqmbr c7ccc53b07
fix: add check for undefined docker_daemon_run_options variable in docker.j2 file
before, if the variable was undefined (run docker with default options), a play filed
2025-01-10 22:08:37 +02:00
defaults initial commit 2025-01-10 19:41:39 +02:00
handlers initial commit 2025-01-10 19:41:39 +02:00
meta initial commit 2025-01-10 19:41:39 +02:00
molecule/default initial commit 2025-01-10 19:41:39 +02:00
tasks initial commit 2025-01-10 19:41:39 +02:00
templates fix: add check for undefined docker_daemon_run_options variable in docker.j2 file 2025-01-10 22:08:37 +02:00
README.md update README.md 2025-01-10 19:54:57 +02:00

Docker Engine

Docker engine installation on Ubuntu 24.04.

Requirements

No requirements.

Role Variables

Docker daemon options to pass to dockerd command (default: undefined):
docker_daemon_run_options: "--dns 1.1.1.1 --dns 1.0.0.1"

Dependencies

No dependencies.

Example Playbook

---
- hosts: goapp

  pre_tasks:
    - name: Update apt cache.
      ansible.builtin.apt:
        update_cache: true
        cache_valid_time: 86400

  roles:
    - role: cuqmbr.docker

TODO

Add support for other Linux distrubitions:

  • RHEL: Almalinux, RockyLinux 9 and 8
  • Debian: Debian 12 and 11, Ubuntu 24.04 and 22.04
  • Archlinux