first upload
This commit is contained in:
parent
f98861086a
commit
ea6d6b025a
10
tasks/install-docker-repo.yml
Normal file
10
tasks/install-docker-repo.yml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: Docker-ce repó hozzáadása
|
||||
yum_repository:
|
||||
name: "docker-ce-stable"
|
||||
description: "Docker CE Stable - $basearch"
|
||||
baseurl: "https://download.docker.com/linux/centos/$releasever/$basearch/stable"
|
||||
gpgcheck: yes
|
||||
enabled: yes
|
||||
gpgkey: "https://download.docker.com/linux/centos/gpg"
|
||||
when: ansible_hostname == "zbxsrv"
|
12
tasks/install-docker.yml
Normal file
12
tasks/install-docker.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Docker-ce telepítése
|
||||
yum:
|
||||
name:
|
||||
- docker-ce
|
||||
- docker-ce-cli
|
||||
- containerd.io
|
||||
- docker-buildx-plugin
|
||||
- docker-compose-plugin
|
||||
state: latest
|
||||
update_cache: yes
|
||||
when: ansible_hostname == "zbxsrv"
|
7
tasks/service-docker.yml
Normal file
7
tasks/service-docker.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Docker engedélyezése és elindítása
|
||||
service:
|
||||
name: docker
|
||||
enabled: yes
|
||||
state: started
|
||||
when: ansible_hostname == "zbxsrv"
|
Loading…
Reference in New Issue
Block a user