This repository has been archived on 2021-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-server/roles/docker/tasks/packages.yml

22 lines
456 B
YAML
Raw Normal View History

2019-03-31 15:25:33 +02:00
---
- name: install docker dependencies
apt:
name: apt-transport-https
state: present
- name: add docker repository key
apt_key:
url: https://download.docker.com/linux/debian/gpg
state: present
- name: add docker repository
apt_repository:
repo: deb https://download.docker.com/linux/debian {{debian_release}} stable
state: present
- name: install docker
apt:
name: docker-ce
update_cache: yes
state: present