community / community.general / 0.1.4 / module / ip_netns Manage network namespaces Authors: Arie Bregman (@bregman-arie)community.general.ip_netns (0.1.4) — module
Install with ansible-galaxy collection install community.general:==0.1.4
collections: - name: community.general version: 0.1.4
Create or delete network namespaces using the ip command.
- name: Create a namespace named mario ip_netns: name: mario state: present
- name: Delete a namespace named luigi ip_netns: name: luigi state: absent
name: description: - Name of the namespace required: false state: choices: - present - absent default: present description: - Whether the namespace should exist required: false