Commit 5ea64c392eafce9be2fad9b71e570addda6ed724

Authored by Ricardo Gon├žalves
1 parent 471fd2d796
Exists in master

changes

Showing 1 changed file with 25 additions and 0 deletions   Show diff stats
roles/docker-git-pip/tasks/main.yml
... ... @@ -0,0 +1,25 @@
  1 +- name: Add Docker GPG key
  2 + apt_key: url=https://download.docker.com/linux/ubuntu/gpg
  3 +
  4 +- name: Add Docker APT repository
  5 + apt_repository:
  6 + repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ansible_distribution_release}} stable
  7 +
  8 +- name: Install list of packages
  9 + apt:
  10 + name: ['apt-transport-https','ca-certificates','curl','software-properties-common','docker-ce']
  11 + state: present
  12 + update_cache: yes
  13 +
  14 +- name: Installing Docker dependencies
  15 + pip:
  16 + name: "{{item}}"
  17 + state: present
  18 + with_items:
  19 + - docker-compose
  20 +
  21 +- name: Installing Git and pip
  22 + apt:
  23 + update_cache: yes
  24 + name: ['git', 'python-pip']
  25 + state: present
... ...