| # Installs docker with apt, docker-compose with pip, adds user to group |
| # https://docs.docker.com/engine/installation/linux/ubuntulinux/ |
| - name: Prereqs and SSL support for apt for SSL |
| - name: Trust docker apt key |
| keyserver=pool.sks-keyservers.net |
| id=58118E89F3A912897C070ADBF76221572C52609D |
| - name: Add docker apt repo |
| repo="deb https://apt.dockerproject.org/repo ubuntu-trusty main" |
| - name: Install docker-compose from web |
| url=https://github.com/docker/compose/releases/download/1.7.1/docker-compose-Linux-x86_64 |
| checksum=sha256:3166bb74bc648e68c3154bc704fddf6bccf59f03a0c90fc48aefac034535e4ae |
| dest=/usr/local/bin/docker-compose |
| # This installs a bunch of prereqs that currently breaks SSL and CA's |
| # https://docs.docker.com/compose/install/#install-using-pip |
| #- name: Install docker-compose from PyPi |
| - name: Make ubuntu user part of the Docker group |
| - name: restart Docker daemon to get new group membership |