1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00
ansible-podman-collections/tests/integration/targets
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
..
connection Change yes/no to true/false in the modules (#561) 2023-03-08 23:28:52 +02:00
connection_buildah Set localte in CI tests to en_US.UTF-8 (#450) 2022-07-14 11:35:47 +03:00
connection_buildah_advanced Rewrite podman and buildah connections (#962) 2025-09-11 20:35:09 +03:00
connection_podman Rewrite podman and buildah connections (#962) 2025-09-11 20:35:09 +03:00
connection_podman_advanced Rewrite podman and buildah connections (#962) 2025-09-11 20:35:09 +03:00
podman_container/tasks Add new 6 version in CI (#989) 2025-11-12 17:30:51 +02:00
podman_container_copy/tasks Add podman_container_copy module (#813) 2024-08-13 12:56:47 +03:00
podman_container_exec/tasks Return data for podman exec module 2024-02-18 18:41:14 +02:00
podman_container_idempotency Add new 6 version in CI (#989) 2025-11-12 17:30:51 +02:00
podman_container_info/tasks Fix conditions in CI jobs (#928) 2025-04-28 00:14:28 +03:00
podman_containers/tasks Convert DNS domain search to a list (#881) 2024-12-13 20:34:17 +02:00
podman_export/tasks Adding volume import and export option (#617) 2023-08-11 16:29:22 +03:00
podman_generate_systemd/tasks CI - add custom podman path to tasks 2024-02-18 13:13:57 +02:00
podman_image Fix image idempotency in pull (#983) 2025-10-19 19:18:33 +03:00
podman_image_info/tasks Replace image in tests from quay.io (#948) 2025-07-12 16:38:54 +03:00
podman_import/tasks Adding volume import and export option (#617) 2023-08-11 16:29:22 +03:00
podman_load/tasks CI: fix review comments 2026-01-17 21:38:53 +02:00
podman_login/tasks Add secret to login module (#858) 2024-10-07 23:08:29 +03:00
podman_login_info/tasks Fix conditions in CI jobs (#928) 2025-04-28 00:14:28 +03:00
podman_logout/tasks Fix podman logout for newer Podman (#969) 2025-08-18 23:15:41 +03:00
podman_network/tasks Add quadlet file mode option to specify file permission (#867) 2024-10-22 15:20:26 +03:00
podman_network_info/tasks Fix conditions in CI jobs (#928) 2025-04-28 00:14:28 +03:00
podman_play/tasks Add option to specify kube file content in module (#863) 2024-10-23 18:35:25 +03:00
podman_pod/tasks Fix tests for new Podman 2026-01-17 21:38:53 +02:00
podman_pod_info/tasks Prepare tests to use custom executable, part 5 (#477) 2022-09-04 22:03:29 +03:00
podman_prune/tasks CI - add parametrized executables to tests 2024-02-18 13:13:57 +02:00
podman_quadlet/tasks Add podman Quadlet modules 2026-02-02 18:10:59 +02:00
podman_quadlet_info/tasks Add podman Quadlet modules 2026-02-02 18:10:59 +02:00
podman_runlabel Fix podman image permissions issue and runlable test (#853) 2024-09-26 09:50:54 +03:00
podman_save/tasks fix(podman_save): always changed when force (#834) 2024-09-02 18:52:14 +03:00
podman_search/tasks Fix CI of Podman Search module (#985) 2025-10-23 18:01:44 +03:00
podman_secret/tasks Fix idempotency for any podman secret driver (#929) 2025-05-13 15:06:45 +03:00
podman_secret_info/tasks Add secrets info module (#706) 2024-01-29 00:14:51 +02:00
podman_system_connection/tasks Add podman system connection modules (#971) 2025-08-25 09:35:27 +03:00
podman_system_connection_info/tasks Add podman system connection modules (#971) 2025-08-25 09:35:27 +03:00
podman_system_info/tasks Add podman system info module (#922) 2025-06-22 13:13:11 +03:00
podman_tag/tasks Fix tests for new Podman 2026-01-17 21:38:53 +02:00
podman_volume/tasks Add quadlet file mode option to specify file permission (#867) 2024-10-22 15:20:26 +03:00
podman_volume_info/tasks Fix conditions in CI jobs (#928) 2025-04-28 00:14:28 +03:00
__init__.py Migration of Podman modules from Ansible to Containers 2020-03-06 16:29:20 +02:00