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