containers.podman.podman_network – Manage podman networks¶
Note
This plugin is part of the containers.podman collection (version 1.4.1).
To install it use: ansible-galaxy collection install containers.podman
.
To use it in a playbook, specify: containers.podman.podman_network
.
New in version 1.0.0: of containers.podman
Parameters¶
Examples¶
- name: Create a podman network
containers.podman.podman_network:
name: podman_network
become: true
- name: Create internal podman network
containers.podman.podman_network:
name: podman_internal
internal: true
ip_range: 192.168.22.128/25
subnet: 192.168.22.0/24
gateway: 192.168.22.1
become: true
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Sagi Shnaidman (@sshnaidm)