Run podman container in a pod

Hello,

I came across the documentation for podman_container: https://docs.ansible.com/ansible/latest/collections/containers/podman/podman_container_module.html#ansible-collections-containers-podman-podman-container-module

I want to run a podman container is a designated pod. On the command like I could do:

podman run
–pod my_pod_name
–name my_container_name
image_name

However, I did not find the option to specify the pod name in the Ansible module. How can I specify the pod name?

It’s there all right:
https://docs.ansible.com/ansible/latest/collections/containers/podman/podman_container_module.html#parameter-pod