eriklotin.docker
Ansible role: eriklotin.docker
This role installs Docker and does some post-install tasks to prepare hosts for running Docker containers.
Install
ansible-galaxy install eriklotin.docker
or install locally:
ansible-galaxy install eriklotin.docker -p ./roles/
Variables
List of system users which will be added to docker system group.
docker_users: []
Python pip package name. If you use Python3 on your servers, then set python_pip_package to python3-pip.
Default is python-pip.
python_pip_package: "python-pip"
Example playbook
- hosts: all
vars:
- docker_users: ["ubuntu"]
roles:
- role: eriklotin.docker
become: true
Dependencies
This role uses geerlingguy.docker role to install Docker.
License
MIT. See LICENSE file.
Author
Created in 2019-02 by Erik Lotin.
About
Role installs Docker and does some post-install tasks to prepare hosts for running Docker containers.
Install
ansible-galaxy install eriklotin.dockerLicense
mit
Downloads
170
Owner
