Copied from the environment repository's roles and scrubbed for the Collection: galaxy namespace mortis, molecule scenarios call the roles by their FQCN and take their paths from the workflow, README examples use mortis.kamino.* and documentation addresses, repository-local references (issue numbers, ADRs, inventory paths) are dropped. network_interfaces loses its Legacy name guard and the molecule play that tested it: the guard only protected the in-repo rename, and a new consumer never had the old names. mock_roles in .ansible-lint lists both FQCNs. Not verified locally: the molecule scenarios (they run on the kamino-molecule runner in CI) and ansible-test sanity. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
37 lines
947 B
Django/Jinja
37 lines
947 B
Django/Jinja
# Managed by Ansible – DO NOT EDIT
|
||
|
||
# Loopback
|
||
auto lo
|
||
iface lo inet loopback
|
||
|
||
# Manual interfaces
|
||
{% for iface in network_interfaces_layout.manual | default([]) %}
|
||
iface {{ iface }} inet manual
|
||
{% endfor %}
|
||
|
||
# Bridges
|
||
{% for br in network_interfaces_layout.bridges | default([]) %}
|
||
auto {{ br.name }}
|
||
iface {{ br.name }} inet {{ br.method | default('manual') }}
|
||
{% if br.method | default('manual') == 'static' %}
|
||
address {{ br.address }}
|
||
netmask {{ br.netmask }}
|
||
{% if br.gateway is defined %}
|
||
gateway {{ br.gateway }}
|
||
{% endif %}
|
||
{% endif %}
|
||
{% if br.ports is defined %}
|
||
bridge_ports {{ br.ports }}
|
||
{% else %}
|
||
bridge_ports none
|
||
{% endif %}
|
||
bridge_stp {{ br.stp | default('off') }}
|
||
{% if br.stp | default('off') != 'off' %}
|
||
bridge_fd {{ br.fd | default(2) }}
|
||
{% endif %}
|
||
{% if br.vlan_aware | default(false) %}
|
||
bridge_vlan_aware yes
|
||
bridge_vids {{ br.vlan_ids | default('2-4094') }}
|
||
{% endif %}
|
||
{% endfor %}
|