main.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. RDNSS {{supernode_mesh_ipv6|ipaddr('address')}}
  37. {
  38. };
  39. supervisor_services:
  40. - name: alfred
  41. command: /usr/local/sbin/alfred -i alfred0
  42. - name: batadv-vis
  43. command: /usr/local/sbin/batadv-vis -s
  44. unbound_configuration:
  45. - verbosity: 1
  46. - do-ip4: "yes"
  47. - do-ip6: "yes"
  48. - num-threads: 1
  49. - pidfile: "/var/run/unbound.pid"
  50. - logfile: "{{unbound_logfile}}"
  51. - module-config: '"iterator"'
  52. unbound_forward_zone_active : true
  53. unbound_forward_zone:
  54. - 151.80.64.190
  55. - 85.14.255.33
  56. unbound_interfaces:
  57. - 0.0.0.0
  58. - ::0
  59. unbound_access_control:
  60. - 10.233.0.0/16 allow
  61. - "2a03:2260:50:5::/64 allow"
  62. - "fe80::/10 allow"