feat(docker): add ansible role (WIP)

This commit is contained in:
2025-04-20 19:43:33 +02:00
parent 1024921a74
commit 7246261798
6 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
docker_systemd_service_name: "docker.service"
docker_systemd_service_state: >-2
{{ (docker_state == 'present') | ternary('started', 'stopped') }}
docker_systemd_service_enabled: "{{ (docker_state == 'present') }}"