codeyourinfra / docker_compose

Ansible role to install docker-compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker_compose

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

Ansible role to install docker-compose.

Example Playbook

---
- hosts: servers
  roles:
    - codeyourinfra.docker_compose

Dependencies

The role is dependent of Codeyourinfra Docker Ansible role, once we need Docker to run docker-compose. Docker is so installed before the docker-compose installation.

Please don't turn off facts, because the codeyourinfra.docker role requires the ansible_distribution_release variable, obtained through the gathering facts phase.

Build process

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

The build is also triggered if any change is made in the codeyourinfra.docker role. After all, nobody wants some issue introduced by a change made in the upstream code :)

Test yourself

Inside your Python virtual environment, run:

pip install -r requirements.txt

And then:

molecule test

Author Information

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

About

Ansible role to install docker-compose

License:MIT License


Languages

Language:Python 100.0%