Add docker role and playbook for Docker installation

This commit is contained in:
DerLinkman
2026-07-18 00:08:02 +02:00
parent 39511ed69f
commit 5c8af619d3
6 changed files with 92 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
---
- name: Restart Docker
ansible.builtin.systemd:
name: docker
state: restarted
daemon_reload: yes
- name: Reload Docker
ansible.builtin.systemd:
name: docker
state: reloaded
- name: Start Docker
ansible.builtin.systemd:
name: docker
state: started
enabled: yes