David K. Bainbridge | 317e7d7 | 2016-05-11 08:31:44 -0700 | [diff] [blame^] | 1 | - name: Apt Information |
| 2 | become: yes |
| 3 | apt: name={{ item }} state=latest force=yes |
| 4 | with_items: |
| 5 | - apt-transport-https |
| 6 | - ca-certificates |
| 7 | |
| 8 | - name: Docker Apt Key |
| 9 | become: yes |
| 10 | apt_key: |
| 11 | keyserver: hkp://p80.pool.sks-keyservers.net:80 |
| 12 | id: 58118E89F3A912897C070ADBF76221572C52609D |
| 13 | |
| 14 | - name: Docker repository |
| 15 | become: yes |
| 16 | apt_repository: |
| 17 | repo: deb https://apt.dockerproject.org/repo ubuntu-trusty main |
| 18 | update_cache: yes |
| 19 | state: present |
| 20 | |
| 21 | - name: Docker Engine |
| 22 | become: yes |
| 23 | apt: |
| 24 | name: docker-engine |
| 25 | state: latest |
| 26 | force: yes |
| 27 | |
| 28 | - name: Docker Compose |
| 29 | become: yes |
| 30 | get_url: |
| 31 | url: https://github.com/docker/compose/releases/download/1.4.1/docker-compose-Linux-x86_64 |
| 32 | dest: /usr/local/bin/docker-compose |
| 33 | |
| 34 | - name: Docker Compose Permissions |
| 35 | become: yes |
| 36 | file: |
| 37 | path: /usr/local/bin/docker-compose |
| 38 | mode: 0755 |