Recopie initiale

This commit is contained in:
Iwan Clement
2018-05-21 13:03:35 +02:00
commit 3f39bfa01d
319 changed files with 1543 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{% if grains['kernel'] == 'Linux' %}
{% if grains['os'] == 'Debian' %}
Debian Docker PreRequisites:
pkg.installed:
- pkgs:
- apt-transport-https
- ca-certificates
- curl
- gnupg2
{% set DEBVER = salt['grains.get']('oscodename') %}
Debian Docker Add Repo:
pkgrepo.managed:
- name: deb [arch=amd64] https://download.docker.com/linux/debian {{DEBVER}} stable
- file: /etc/apt/sources.list.d/docker-ce.list
- enable: 1
- key_url: https://download.docker.com/linux/debian/gpg
Debian Docker CE installation:
pkg.installed:
- pkgs:
- docker-ce
- docker-compose
{% endif %}
{% endif %}