| - name: Include configuration vars |
| include_vars: onos-setup-vars.yml |
| # 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: Make user part of the Docker group |
| name={{ ansible_user_id }} |
| groups="docker" append=yes |
| # https://docs.docker.com/compose/install/#install-using-pip |
| - name: Install docker-compose from PyPi |
| - name: Create CORD directory |
| path={{ ansible_user_dir }}/cord |
| - name: Copy over SSH keys |
| dest={{ ansible_user_dir }}/cord/{{ item }} |
| owner={{ ansible_user_id }} mode=0600 |
| - name: Copy over docker-compose.yml files |
| dest={{ ansible_user_dir }}/cord/docker-compose.yml |