mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
docs: Remove invalid network state example
For an ethernet device which contains the kernel link, we should not and cannot delete such a device using `network_state` variable. We can only use `network_state` variable to delete the virtual NIC that is created by NM/Nmstate. Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
parent
9f2a64776d
commit
7a476a71a4
1 changed files with 0 additions and 10 deletions
|
|
@ -19,16 +19,6 @@
|
|||
ansible.builtin.include_role:
|
||||
name: linux-system-roles.network
|
||||
|
||||
- name: Delete the ethernet device eth1
|
||||
vars:
|
||||
network_state:
|
||||
interfaces:
|
||||
- name: eth1
|
||||
type: ethernet
|
||||
state: absent
|
||||
ansible.builtin.include_role:
|
||||
name: linux-system-roles.network
|
||||
|
||||
- name: Bring up the ethernet device eth1
|
||||
vars:
|
||||
network_state:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue