Indent
This commit is contained in:
@@ -1,26 +1,26 @@
|
|||||||
{% if grains['kernel'] == 'Linux' %}
|
{% if grains['kernel'] == 'Linux' %}
|
||||||
{% if grains['os'] == 'Ubuntu' %}
|
{% if grains['os'] == 'Ubuntu' %}
|
||||||
{% set UBUVER = salt['grains.get']('oscodename') %}
|
{% set UBUVER = salt['grains.get']('oscodename') %}
|
||||||
Ubuntu Docker PreRequisites:
|
Ubuntu Docker PreRequisites:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs:
|
- pkgs:
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
- curl
|
- curl
|
||||||
- gnupg2
|
- gnupg2
|
||||||
|
|
||||||
Ubuntu Docker Add Repo:
|
Ubuntu Docker Add Repo:
|
||||||
pkgrepo.managed:
|
pkgrepo.managed:
|
||||||
- name: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{UBUVER}} stable
|
- name: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{UBUVER}} stable
|
||||||
- file: /etc/apt/sources.list.d/docker-ce.list
|
- file: /etc/apt/sources.list.d/docker-ce.list
|
||||||
- enable: 1
|
- enable: 1
|
||||||
- key_url: https://download.docker.com/linux/ubuntu/gpg
|
- key_url: https://download.docker.com/linux/ubuntu/gpg
|
||||||
|
|
||||||
Ubuntu Docker CE installation:
|
Ubuntu Docker CE installation:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs:
|
- pkgs:
|
||||||
- docker-ce
|
- docker-ce
|
||||||
- docker-compose
|
- docker-compose
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user