docker

docker

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

Ansible role to install Docker.

Example Playbook

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

The role requires some variables obtained through the gathering facts phase. So please don't turn off facts.

Build process

The build process is performed in Travis CI. During the build, the role is tested by using Molecule.

If the build is succeeded, dependent roles may have also its builds triggered, thanks to the travis-dependent-builds project. One example is the Codeyourinfra docker-compose Ansible role.

Test yourself

First of all, create your Python virtual environment and activate it:

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

After that, install all requirements:

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

Finally, execute the test:

molecule test

Author Information

@gustavomcarmo is a contributor of Codeyourinfra. Get on board too! :)

About

Role to install Docker

Install
ansible-galaxy install codeyourinfra/docker
GitHub repository
License
mit
Downloads
313
Owner
And spend your priceless time on what's really worth it