community / community.general / 8.5.0 / module / ip_netns Manage network namespaces Authors: Arie Bregman (@bregman-arie)community.general.ip_netns (8.5.0) — module
Install with ansible-galaxy collection install community.general:==8.5.0
collections: - name: community.general version: 8.5.0
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