ansible-role-docker-host/README.md

40 lines
704 B
Markdown
Raw Permalink Normal View History

2022-10-24 12:47:10 +00: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