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