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