Skip to content

Commit 7a476a7

Browse files
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 <[email protected]>
1 parent 9f2a647 commit 7a476a7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

examples/network_state_example.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@
1919
ansible.builtin.include_role:
2020
name: linux-system-roles.network
2121

22-
- name: Delete the ethernet device eth1
23-
vars:
24-
network_state:
25-
interfaces:
26-
- name: eth1
27-
type: ethernet
28-
state: absent
29-
ansible.builtin.include_role:
30-
name: linux-system-roles.network
31-
3222
- name: Bring up the ethernet device eth1
3323
vars:
3424
network_state:

0 commit comments

Comments
 (0)