mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
tests: Install iproute to manage test interfaces
This commit is contained in:
parent
f8d325f9fa
commit
00a81165e8
1 changed files with 5 additions and 0 deletions
|
|
@ -11,6 +11,11 @@
|
|||
# - include: get-current_interfaces.yml
|
||||
- include: show-interfaces.yml
|
||||
|
||||
- name: Install iproute
|
||||
package:
|
||||
name: iproute
|
||||
state: present
|
||||
|
||||
# veth
|
||||
- name: Create veth interface {{ interface }}
|
||||
shell: ip link add {{ interface }} type veth peer name peer{{ interface }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue