Create install_docker.yml

This commit is contained in:
2025-06-03 08:58:45 +02:00
committed by GitHub
parent d19faae59d
commit c6479b58d1

23
install_docker.yml Normal file
View File

@@ -0,0 +1,23 @@
- name: Install Docker
hosts: localhost
connection: local
become: true
tasks:
- name: Installeer python3-pip als dat nog niet aanwezig is
apt:
name: python3-pip
state: present
update_cache: yes
- name: Install Docker SDK for Python
pip:
name: docker
executable: pip3
- name: Install Docker
apt:
name: docker.io
state: present
update_cache: yes