community / community.general / 0.1.1 / module / ip_netns Manage network namespaces Authors: Arie Bregman (@bregman-arie) preview | supported by communitycommunity.general.ip_netns (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Create or delete network namespaces using the ip command.
# Create a namespace named mario - name: Create a namespace named mario namespace: name: mario state: present
- name: Delete a namespace named luigi namespace: 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