manage_netplan/molecule/with_custom_config/group_vars/all.yml

34 lines
817 B
YAML
Raw Normal View History

2023-04-14 18:31:23 +00:00
---
manage_netplan_config_file: /tmp/ansible-config.yaml # this MUST be .yaml, .yml will not be picked up by netplan
manage_netplan_renderer: networkd # supported value is 'NetworkManager' or 'networkd'
manage_netplan_remove_existing: false
manage_netplan_search_domain: example.org
manage_netplan_install: true
manage_netplan_apply: false
2023-04-14 18:31:23 +00:00
manage_netplan_configuration:
network:
version: 2
ethernets:
eth1:
dhcp4: false
link-local: []
set-name: eth1
eth2:
dhcp4: true
mtu: 1500
link-local: []
set-name: eth2
vlans:
vlan20:
id: 20
link: eth1
mtu: 1500
dhcp4: false
link-local: []
vlan40:
id: 40
link: eth1
mtu: 1500
dhcp4: false
link-local: []