Indentation OK
This commit is contained in:
@@ -1,12 +1,10 @@
|
|||||||
# Installation de Kubernetes
|
|
||||||
|
|
||||||
{% if grains['kernel'] == 'Linux' %}
|
{% if grains['kernel'] == 'Linux' %}
|
||||||
include:
|
include:
|
||||||
- linux.docker-ce
|
- linux.docker-ce
|
||||||
|
|
||||||
{% if grains['os'] == 'Debian' %}
|
{% if grains['os'] == 'Debian' %}
|
||||||
{% set DEBVER = salt['grains.get']('oscodename') %}
|
{% set DEBVER = salt['grains.get']('oscodename') %}
|
||||||
Debian K8S Add Repo:
|
Debian K8S Add Repo:
|
||||||
pkgrepo.managed:
|
pkgrepo.managed:
|
||||||
- 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
|
||||||
@@ -15,7 +13,7 @@ include:
|
|||||||
# - key_url: https://download.docker.com/linux/debian/gpg
|
# - key_url: https://download.docker.com/linux/debian/gpg
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
K8S installation:
|
K8S installation:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs:
|
- pkgs:
|
||||||
- kubelet
|
- kubelet
|
||||||
|
|||||||
Reference in New Issue
Block a user