mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 18:35:13 +00:00
The only thing we need to skip currently is using FQCN for ansible builtin modules, plugins Add `kinds` - otherwise, Ansible thinks anything not in a traditional role path is a plain YAML file, and we don't get the additional checking. Ensure all plays are named. Fix some other minor problems. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
17 lines
371 B
YAML
17 lines
371 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
---
|
|
- name: Manage network using match path for interface
|
|
hosts: all
|
|
vars:
|
|
network_connections:
|
|
- name: eth0
|
|
type: ethernet
|
|
match:
|
|
path:
|
|
- pci-0000:00:03.0
|
|
ip:
|
|
dhcp4: false
|
|
address:
|
|
- 192.0.2.3/24
|
|
roles:
|
|
- linux-system-roles.network
|