- 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.
24 lines
584 B
YAML
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
|