ansible/roles/docker/tasks/main.yml

18 lines
355 B
YAML
Raw Normal View History

2018-05-10 09:19:54 +00:00
---
- name: add docker gpg key
apt_key:
keyserver: pgp.key-server.io
id: 8D81803C0EBFCD88
state: present
- name: add docker apt repository
apt_repository:
repo: deb https://download.docker.com/linux/ubuntu artful stable
state: present
update_cache: yes
- name: install docker-ce
apt:
name: docker-ce
state: present