main.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ---
  2. # vars file for ff-supernode
  3. dhcp_interfaces: bat0
  4. dhcp_common_default_lease_time: 600
  5. dhcp_common_max_lease_time: 7200
  6. dhcp_common_ddns_update_style: none
  7. dhcp_common_authoritative: true
  8. dhcp_common_log_facility: local7
  9. dhcp_common_options:
  10. - wpad code 252 = text
  11. - 'wpad "\n\000"'
  12. - interface-mtu 1280
  13. dhcp_subnets:
  14. - base: "{{supernode_mesh_ipv4|ipaddr('network')}}"
  15. netmask: "{{supernode_mesh_ipv4|ipaddr('netmask')}}"
  16. routers: "{{supernode_mesh_ipv4|ipaddr('address')}}"
  17. range_start: "{{supernode_dhcp_range_start}}"
  18. range_end: "{{supernode_dhcp_range_end}}"
  19. domain_nameservers: "{{supernode_mesh_ipv4|ipaddr('address')}}, {{supernode_other_nameserver}}"
  20. ntp_servers: "{{supernode_mesh_ipv4|ipaddr('address')}}, {{supernode_other_ntp_server}}"
  21. dhcp_classes:
  22. - name: MSFT
  23. rule: 'match if substring(option vendor-class-identifier, 0, 4) = "MSFT"'
  24. options:
  25. - opt: 'dhcp-parameter-request-list = concat(option dhcp-parameter-request-list, fc)'
  26. radvd_default_interface: 'bat0'
  27. radvd_default_interface_options: |
  28. AdvSendAdvert on;
  29. IgnoreIfMissing on;
  30. MaxRtrAdvInterval 600;
  31. MinDelayBetweenRAs 10;
  32. AdvLinkMTU 1280;
  33. prefix {{supernode_mesh_ipv6|ipaddr('subnet')}}
  34. {
  35. };
  36. radvd_default_interface_nameservers:
  37. - rdnss:
  38. - "{{supernode_mesh_ipv6}}"