main.yml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. ---
  2. # ---- Default options ----
  3. # Network interface to configure
  4. # By default, configure on interface created by 'debops.subnetwork' role
  5. radvd_default_interface: 'br2'
  6. # Options for default interface, specified as YAML text block
  7. radvd_default_interface_options: |
  8. AdvSendAdvert on;
  9. MaxRtrAdvInterval {{ radvd_max_advert_interval }};
  10. {% if radvd_default_dhcpv6 is defined and radvd_default_dhcpv6 %}
  11. AdvManagedFlag on;
  12. AdvOtherConfigFlag on;
  13. {% endif %}
  14. # Options defined for default prefixes as YAML text block
  15. radvd_default_prefix_options: ''
  16. # Enable or disable support for DHCPv6 server in default configuration
  17. radvd_default_dhcpv6: True
  18. # ---- DNS and search domains ----
  19. # Local subdomain leaf to advertise in DNSSL
  20. radvd_default_subdomain: 'lan'
  21. # List of search domains to advertise in DNSSL
  22. radvd_default_domains: [ '{{ radvd_default_subdomain }}.{{ ansible_fqdn }}', '{{ ansible_domain }}' ]
  23. # ---- radvd configuration ----
  24. # Maximum time between router advertisements, in seconds
  25. radvd_max_advert_interval: '60'
  26. # See radvd.conf(5) for documentation of available options. Each section is
  27. # specified with lowercase name, section options are specified as YAML text
  28. # blocks (semicolons at the end of each line are required).
  29. radvd_interfaces:
  30. # Default interface created by 'debops.subnetwork' role
  31. - interface: '{{ radvd_default_interface }}'
  32. comment: 'Default configuration for local network'
  33. # Interface options as YAML text block
  34. options: '{{ radvd_default_interface_options }}'
  35. # List of prefixes advertised on this interface
  36. prefixes:
  37. - prefix: '::/64'
  38. options: '{{ radvd_default_prefix_options }}'
  39. # List of configured routes for this interface
  40. routes: []
  41. #- route: ''
  42. # options: |
  43. # List of nameservers advertised on this interface
  44. nameservers: []
  45. #- rdnss: []
  46. # options: |
  47. # List of search domains advertised on this interface
  48. domains:
  49. - dnssl: '{{ radvd_default_domains }}'
  50. # List of clients to advertise to, if not defined, advertise to all hosts
  51. # on this interface
  52. clients: []