Go to file
2022-10-24 16:10:44 +02:00
defaults init 2022-10-24 16:10:44 +02:00
handlers init 2022-10-24 16:10:44 +02:00
meta init 2022-10-24 16:10:44 +02:00
tasks init 2022-10-24 16:10:44 +02:00
tests init 2022-10-24 16:10:44 +02:00
vars init 2022-10-24 16:10:44 +02:00
README.md init 2022-10-24 16:10:44 +02:00

Ansible Role: Docker host

This roles installs and configures the latest version of docker and docker-compose from the official Docker CE repository.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

docker_compose_version: "v2.4.1"

The version of docker-compose to install.

docker_user_username: "root"

The username that will run docker (specify a user to run docker deamon in rootless mode).

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
     - { role: docker-host }

License

MIT / BSD