Skip to content

mafalb/ansible-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An ansible module for docker Build Status

Basic Usage

- hosts: localhost
  roles:
    - role: docker/daemon

to install the docker daemon
or

- hosts: localhost
  roles:
    - role: docker/ansible

to install the requirements for handling docker images or containers on an ansible node
e.g. docker_image or docker_container

Variables

docker_assume_already_installed: false

Use this to avoid installing docker, e.g. on travis-CI where docker is known to be present in a newer version than the OS provided docker

docker_package: docker.io

The name of the package to be installed. This defaults to OS specific defaults but can be overruled, e.g. on debian-ish systems the docker package is named docker.io but you can set it to docker-ce and it will configure the docker ppa and install from there.

docker_package: docker.io

The name of the package to be installed. This defaults to OS specific defaults but can be overruled, e.g. on debian-ish systems the docker package is named docker.io but you can set it to docker-ce and it will configure the docker ppa and install from there.

License

GPLv3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published