ansible/roles/docker/tasks/Debian.yaml

14 lines
345 B
YAML
Raw Normal View History

2022-08-30 12:46:19 +00:00
---
- name: install apt key
apt_key:
url: "https://download.docker.com/linux/{{ ansible_lsb.id | lower }}/gpg"
state: present
- name: install apt repo
apt_repository:
repo: >
deb [arch=amd64] https://download.docker.com/linux/{{ ansible_lsb.id | lower }}
{{ ansible_lsb.codename }}
stable
filename: docker