mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-22 10:37:52 +00:00
17 lines
377 B
YAML
17 lines
377 B
YAML
---
|
|
- hosts: network-test
|
|
vars:
|
|
network_connections:
|
|
|
|
# Create one ethernet profile and activate it.
|
|
# The profile uses automatic IP addressing
|
|
# and is tied to the interface by MAC address.
|
|
- name: prod1
|
|
state: up
|
|
type: ethernet
|
|
autoconnect: yes
|
|
mac: "{{ network_mac1 }}"
|
|
mtu: 1450
|
|
|
|
roles:
|
|
- network
|