summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/install_docker.yml
blob: 9ae0cb9188b866c73bf97fbaec6b1c91d6de2499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- name: Install requirements
  package: name="{{ item }}" state=present
  with_items:
    - lvm2

- name: Install nvidia docker
  package: name="nvidia-docker2" state=present
  notify:
    - restart docker

- name: Install additional packages
  package: name="{{ item }}" state=present
  with_items:
    - docker-compose