Finalisation

This commit is contained in:
CLEMENT Iwan
2018-11-08 20:12:19 +01:00
parent c11729ff3c
commit e98af3bfdf

View File

@@ -2,7 +2,8 @@
{% if grains['kernel'] == 'Linux' %} {% if grains['kernel'] == 'Linux' %}
include: include:
- softwares.dockerCE # - softwares.dockerCE
- linux.docker-ce
{% if grains['os'] == 'Debian' %} {% if grains['os'] == 'Debian' %}
{% set DEBVER = salt['grains.get']('oscodename') %} {% set DEBVER = salt['grains.get']('oscodename') %}
@@ -11,7 +12,8 @@ include:
- name: deb https://apt.kubernetes.io/ kubernetes-{{DEBVER}} main - name: deb https://apt.kubernetes.io/ kubernetes-{{DEBVER}} main
- file: /etc/apt/sources.list.d/k8s.list - file: /etc/apt/sources.list.d/k8s.list
- enable: 1 - enable: 1
- key_url: https://download.docker.com/linux/debian/gpg - gpgkey: https://dl.google.com/linux/linux_signing_key.pub
# - key_url: https://download.docker.com/linux/debian/gpg
{% endif %} {% endif %}
K8S installation: K8S installation: