use systemd to make portainer persistent

This commit is contained in:
rene committed 2025-11-07 18:59:01 +01:00
1 parent 2564b458b0
commit 7dd9877e61
2 files changed
+34 -3

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
---
# handlers file for roles/podman
- name: Reload systemd and restart Portainer pod
ansible.builtin.systemd:
name: pod-portainer.service
state: restarted
daemon_reload: yes