use systemd to make portainer persistent

This commit is contained in:
2025-11-07 18:59:01 +01:00
parent 2564b458b0
commit 7dd9877e61
2 changed files with 34 additions and 3 deletions

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