Note
This module is part of the containers.podman collection (version 1.17.0).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install containers.podman. You need further requirements to be able to use this module, see Requirements for details.
To use it in a playbook, specify: containers.podman.podman_network_info.
New in containers.podman 1.0.0
The below requirements are needed on the host that executes this module.
Parameter | Comments |
|---|---|
executable string | Path to Default: |
name string | Name of the network |
- name: Gather info about all present networks
containers.podman.podman_network_info:
- name: Gather info about specific network
containers.podman.podman_network_info:
name: podman
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
|---|---|
networks list / elements=string | Facts from all or specified networks Returned: always Sample: |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/containers/podman/podman_network_info_module.html