Files
toallab-automation/roles/linux-system-roles.network/examples/eth-simple-auto.yml
2020-08-17 12:06:41 -04:00

19 lines
436 B
YAML

# SPDX-License-Identifier: BSD-3-Clause
---
- 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:
- linux-system-roles.network