Files
ansible-podman/tasks/services.yml
Daniel Akulenok b1a627f2ee Enhance Podman configuration and management
- Update pruning options to include filters for containers, images, networks, and volumes.
- Modify handlers to restart Podman resources based on new conditions.
- Expand Molecule tests to verify networks, volumes, pods, and containers.
- Adjust service management tasks for Podman services and auto-update.
- Refactor tasks for better clarity and maintainability.
2026-02-20 14:49:22 +01:00

24 lines
584 B
YAML

---
# Manage Podman services
- name: Enable Podman service
ansible.builtin.systemd_service:
name: podman.service
enabled: true
- name: Enable Podman socket
ansible.builtin.systemd_service:
name: podman.socket
enabled: true
- name: Enable Podman auto-update service
ansible.builtin.systemd_service:
name: podman-auto-update.service
enabled: true
when: podman_enable_auto_update
- name: Disable Podman auto-update service
ansible.builtin.systemd_service:
name: podman-auto-update.service
enabled: false
when: not podman_enable_auto_update