A simple ansible role to install docker-compose to a specific version.
docker_compose_version: "1.7.1"
First install the role from ansible galaxy:
$ ansible-galaxy install emmetog.docker-compose
Then use the role in a playbook as follows:
- hosts: servers
roles:
- {
role: emmetog.docker-compose,
docker_compose_version: "1.7.1"
}
MIT
Made with love by Emmet O'Grady.
I am the founder of NimbleCI which builds Docker containers for feature branch workflow projects in Github.
I blog on my personal blog and about Docker related things on the NimbleCI blog.