Correction installation Docker

This commit is contained in:
2018-04-30 12:04:18 +02:00
parent 9c87b15007
commit 196bbc9ffb

View File

@@ -37,16 +37,18 @@
- ca-certificates
- curl
- gnupg2
- software-properties-common
# - software-properties-common
- lsb-release
Debian Docker Add Repo:
cmd.run:
- name: curl -fsSL 'https://download.docker.com/linux/debian/gpg' | apt-key add -
- name: add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
include:
- linux.update
pkgrepo.managed:
- name: "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
- file: /etc/apt/sources.list.d/docker-ce.list
- enable: 1
- key_rul: https://download.docker.com/linux/debian/gpg
# cmd.run:
# - name: curl -fsSL 'https://download.docker.com/linux/debian/gpg' | apt-key add -
# - name: add-apt-repository -y "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
Debian Docker CE installation:
pkg.installed: