syntax
This commit is contained in:
@@ -61,9 +61,8 @@
|
||||
-v /run/podman/podman.sock:/var/run/docker.sock # Map Podman socket to Docker socket path for Portainer compatibility
|
||||
-v {{ portainer_data_path }}:/data
|
||||
{{ portainer_image }}
|
||||
creates: "{{ portainer_data_path }}/portainer.db" # Prüft, ob die Portainer-Datenbankdatei existiert, um Idempotenz zu gewährleisten
|
||||
args:
|
||||
warn: false # Unterdrückt die Warnung, dass das 'command'-Modul für idempotente Operationen verwendet wird
|
||||
creates: "{{ portainer_data_path }}/portainer.db" # Checks if the Portainer database file exists to ensure idempotency
|
||||
warn: false # Suppresses the warning that the 'command' module is used for operations that should be idempotent
|
||||
# Verbesserungsvorschlag: Für eine robustere Container-Verwaltung könnte das Modul
|
||||
# `community.general.podman_container` verwendet werden, falls die `community.general`-Collection installiert ist.
|
||||
# Beispiel:
|
||||
|
||||
Reference in New Issue
Block a user