containers / containers.podman / 1.12.1 / module / podman_network_info Gather info about podman networks | "added in version" 1.0.0 of containers.podman" Authors: Sagi Shnaidman (@sshnaidm)containers.podman.podman_network_info (1.12.1) — module
Install with ansible-galaxy collection install containers.podman:==1.12.1
collections: - name: containers.podman version: 1.12.1
Gather info about podman networks with podman inspect command.
- 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
name: description: - Name of the network type: str executable: default: podman description: - Path to C(podman) executable if it is not in the C($PATH) on the machine running C(podman) type: str
networks: description: Facts from all or specified networks returned: always sample: - cniVersion: 0.4.0 name: podman plugins: - bridge: cni-podman0 ipMasq: true ipam: ranges: - - gateway: 10.88.0.1 subnet: 10.88.0.0/16 routes: - dst: 0.0.0.0/0 type: host-local isGateway: true type: bridge - capabilities: portMappings: true type: portmap - backend: iptables type: firewall type: list