1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-03 23:01:48 +00:00
ansible-podman-collections/plugins/modules
Sagi Shnaidman 09bb5454a9 Add podman Quadlet modules
This commit introduces two new modules for managing Podman Quadlets:

- podman_quadlet: Install and remove Podman Quadlet files
  * Supports installing single files, directories, and additional config files
  * Implements idempotent state management (present/absent)
  * Validates parameters and provides meaningful error messages
  * Default force=true for removal operations
  * Removed deprecated 'ignore' parameter in favor of built-in idempotency

- podman_quadlet_info: Gather information about installed Quadlets
  * Lists all installed quadlets or prints specific quadlet content
  * Supports filtering by quadlet kinds (container, pod, network, etc.)
  * Provides detailed quadlet metadata including status and paths

Key features:
- Shared utilities in module_utils/podman/quadlet.py for code reuse
- Comprehensive integration tests for both modules
- Full idempotency support for all operations
- Proper handling of edge cases (missing files, malformed quadlets, etc.)
- Check mode support for safe dry-run operations
- Extensive documentation and examples

The modules use relative imports for module_utils to support local
development and testing with the containers.podman collection.

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
2026-02-02 18:10:59 +02:00
..
__init__.py Migration of Podman modules from Ansible to Containers 2020-03-06 16:29:20 +02:00
podman_container.py add passthrough and none log driver options (#988) 2025-11-04 23:03:44 +02:00
podman_container_copy.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_container_exec.py Fix Ansible warning about test utils (#999) 2026-01-16 15:41:09 +02:00
podman_container_info.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_containers.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_export.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_generate_systemd.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_image.py Add podman image scp option (#970) 2025-08-19 23:30:35 +03:00
podman_image_info.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_import.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_load.py Run black -l 120 on all Python files to unify the style (#939) 2025-06-15 18:25:48 +03:00
podman_login.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_login_info.py Run black -l 120 on all Python files to unify the style (#939) 2025-06-15 18:25:48 +03:00
podman_logout.py Fix podman logout for newer Podman (#969) 2025-08-18 23:15:41 +03:00
podman_network.py Fix Ansible warning about test utils (#999) 2026-01-16 15:41:09 +02:00
podman_network_info.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_play.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_pod.py Run black -l 120 on all Python files to unify the style (#939) 2025-06-15 18:25:48 +03:00
podman_pod_info.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_prune.py fix(podman_prune): set top-level changed status (#997) 2026-01-15 13:04:16 +02:00
podman_quadlet.py Add podman Quadlet modules 2026-02-02 18:10:59 +02:00
podman_quadlet_info.py Add podman Quadlet modules 2026-02-02 18:10:59 +02:00
podman_runlabel.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_save.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_search.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_secret.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_secret_info.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00
podman_system_connection.py Add podman system connection modules (#971) 2025-08-25 09:35:27 +03:00
podman_system_connection_info.py Add podman system connection modules (#971) 2025-08-25 09:35:27 +03:00
podman_system_info.py Add podman system info module (#922) 2025-06-22 13:13:11 +03:00
podman_tag.py Fix idempotency for tagging local images (#980) 2025-09-18 14:59:31 +03:00
podman_volume.py Fix Ansible warning about test utils (#999) 2026-01-16 15:41:09 +02:00
podman_volume_info.py Run black -l 120 on all files, again (#943) 2025-06-26 13:24:44 +03:00