codeyourinfra.docker

docker

License: MIT GitHub release Build status Ansible Role Ansible Role downloads

This is an Ansible role for installing Docker.

Example Playbook

---
- hosts: servers
  roles:
    - codeyourinfra.docker

The role needs some variables gathered during the gathering facts phase. So, please keep facts enabled.

Build Process

The build happens on Travis CI. During this process, the role is tested using Molecule.

If the build is successful, other related roles may also trigger their builds, thanks to the travis-dependent-builds project. For example, the Codeyourinfra docker-compose Ansible role.

Test It Yourself

First, create a Python virtual environment and activate it:

python -m venv env && source env/bin/activate

Next, install all necessary packages:

pip install wheel && pip install -r requirements.txt

Finally, run the tests:

molecule test

Author Information

@gustavomcarmo is a contributor to Codeyourinfra. Join us too! :)

Informazioni sul progetto

Role to install Docker

Installa
ansible-galaxy install codeyourinfra.docker
Licenza
mit
Download
329
Proprietario
And spend your priceless time on what's really worth it