Bläddra i källkod

docker role

master
förälder
incheckning
6d35113987
1 ändrade filer med 28 tillägg och 0 borttagningar
  1. +28
    -0
      tasks/main.yaml

+ 28
- 0
tasks/main.yaml Visa fil

@@ -1 +1,29 @@
---

- name: debian requirements
apt:
pkg:
- apt-transport-https
- ca-certificates
- curl
- gnupg2
- software-properties-common

- name: debian repository key
apt_key:
url: https://download.docker.com/linux/debian/gpg
id: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88

- name: debian repository
apt_repository:
repo: deb [arch=amd64] https://download.docker.com/linux/debian {{ansible_distribution_release}} stable
filename: docker

- name: docker-ce
apt:
pkg: docker-ce

- name: set sysctl vm.overcommit_memory to 1
sysctl:
name: vm.overcommit_memory
value: 1

Laddar…
Avbryt
Spara