host.yml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. local_node: "{{supernodes[2]}}"
  2. ffmap_backend_version: v2
  3. supernode_mesh_mac: "{{local_node.mesh_mac}}"
  4. supernode_mesh_ipv4: "{{local_node.mesh_ip_v4}}"
  5. supernode_bat_macaddress: "{{local_node.bat_mac}}"
  6. supernode_mesh_ipv6: "{{local_node.mesh_ip_v6}}"
  7. supernode_local_ip: "{{local_node.public_ip|default(ansible_default_ipv4.address)}}"
  8. supernode_public_interface: "{{local_node.public_interface|default(ansible_default_ipv4.interface)}}"
  9. supernode_dhcp_range_start: "{{local_node.dhcp_range_start}}"
  10. supernode_dhcp_range_end: "{{local_node.dhcp_range_end}}"
  11. supernode_mesh_backbones:
  12. - name: "{{supernodes[0].name}}"
  13. remote_ip: "{{supernodes[0].public_ip|ipaddr('address')}}"
  14. mesh_ip: "{{supernodes[0].mesh_ip_v4|ipaddr('address')}}"
  15. address_v6: "{{supernodes[0].mesh_ip_v6|ipaddr('address')}}"
  16. local_ip: "{{supernode_local_ip|ipaddr('address')}}"
  17. interface: "{{supernode_public_interface}}"
  18. - name: "{{supernodes[1].name}}"
  19. remote_ip: "{{supernodes[1].public_ip|ipaddr('address')}}"
  20. mesh_ip: "{{supernodes[1].mesh_ip_v4|ipaddr('address')}}"
  21. address_v6: "{{supernodes[1].mesh_ip_v6|ipaddr('address')}}"
  22. local_ip: "{{supernode_local_ip|ipaddr('address')}}"
  23. interface: "{{supernode_public_interface}}"
  24. supernode_interfaces:
  25. - name: eth0
  26. auto: true
  27. proto: inet
  28. type: dhcp
  29. - name: eth1
  30. auto: true
  31. proto: inet
  32. type: static
  33. config:
  34. - key: address
  35. value: "{{supernode_local_ip|ipaddr('address')}}"
  36. - key: netmask
  37. value: "{{supernode_local_ip|ipaddr('netmask')}}"
  38. - key: broadcast
  39. value: "{{supernode_local_ip|ipaddr('broadcast')}}"
  40. meshviewer_data_url: "https://192.168.77.29/data/"
  41. meshviewer_site_name: Freifunk example
  42. meshviewer_version: v3
  43. mapserver_use_pregenerated_dh_params: true
  44. mapserver_dh_params: |
  45. -----BEGIN DH PARAMETERS-----
  46. MIIBCAKCAQEAmWF6Vbj7fCywCna6iHb8WykMo7df73WrNmcdzpxBX+x29YMhU9zX
  47. DATZ6cqLjOV0uDMqL6I0estB9TxwIEXUgOoc1KTUc91AE9YzQpH86jdE6nkw4Jjz
  48. ec2TkyHJmLgods8NPw/uHvrpw84HWm/QxUT3ZOYdzTuNuGxWyJ43vCTsNrq59jOx
  49. pbMETJRsP2YRNHMYwwF3V40EgN5y1X0xENstyWdPvk2aspxz10O+gD6+buSYA+xb
  50. rvPG5bn/sVhi7pYBKPUMhrF8AoqGltNINkpP4dW3aQDJeIcwQ1aoE8IYp8eyv935
  51. bHWReVmyfpXHEWtSHjwNbuqey40XN31qYwIBAg==
  52. -----END DH PARAMETERS-----
  53. mapserver_ssl_private_key: |
  54. -----BEGIN RSA PRIVATE KEY-----
  55. MIICXQIBAAKBgQDFUvdXLyZGjceI3Z4UjqNrbL1Jn2F/CmCjs4a8x1FqMKaH3G/4
  56. se/+soMUC140RqOnb8JrOCxpB0OdepVLDW191X2d4oiOb1fCO2uMBFJ8a1ZEHq/j
  57. qLn8RY7OrJGUCMmLsLqmEU6rjAEBvkD2RPTJ8fcUaMXjlIdA05QFgUlAKQIDAQAB
  58. AoGBAKSwbDNd7MoyBvlaTlfF/Orp5MoPteW8GZBHhAsHKBJC7Jq0BthAWpfvEaun
  59. GUb0Nh7HDjNCvP4jy/EhoHz1hg1pFOkRUlz602qLj5h2aEqB8yW4DfUbrfq3CHpd
  60. 0rZXWlrIn9Ww0rr/ZGQvNywOuyIVsaDmBWsudQhv+4CSpa/JAkEA+HJCRuAFExHK
  61. Lftr/8bSVajOFPmdf+vhERLuAB8r7FH2pl7H67CETKN8BdVLCOurhjSA4Iq/RRaS
  62. 3qSkXgD9PwJBAMtSzkXfRBPxZl7iCGHsGenOfIdLONm4/LaSBJtsqv3YgAMhMdrO
  63. idwU293nKktTONUV61gzbFSbLATiuLH0IJcCQG1TojScCb+deXGIjLrOG+qT0LPM
  64. L/GFs9GWmeK11Nc2LiqB1MmzMFSlMENE27L+Oclhu0CT7Z0SVOjiXG39U3MCQQCS
  65. 6kuIK3KqomShLNx3vT1gN0a+D/mNQODCHzJbCCNp9xVQrZyziUgOEbhpWE60TPck
  66. 6Yi7m7SsUc913EkutMMTAkBup3dbKPkDgl3Ujm9q/mvyJdE5ZF1QvbSSuFFPinP6
  67. pQtvUENWV3NmlAuBOg4gzJ+ZSyKy93KvJ91MHNwfKMok
  68. -----END RSA PRIVATE KEY-----
  69. mapserver_ssl_server_cert: |
  70. -----BEGIN CERTIFICATE-----
  71. MIICazCCAdQCCQDGN/3zHbvn2zANBgkqhkiG9w0BAQsFADB6MQswCQYDVQQGEwJE
  72. RTEMMAoGA1UECAwDTlJXMREwDwYDVQQHDAhEb3J0bXVuZDERMA8GA1UECgwIRnJl
  73. aWZ1bmsxEjAQBgNVBAsMCW1hcHNlcnZlcjEjMCEGA1UEAwwabWFwc2VydmVyLmZy
  74. ZWlmdW5rLmV4YW1wbGUwHhcNMTUwODAyMTIzMjUyWhcNMTYwODAxMTIzMjUyWjB6
  75. MQswCQYDVQQGEwJERTEMMAoGA1UECAwDTlJXMREwDwYDVQQHDAhEb3J0bXVuZDER
  76. MA8GA1UECgwIRnJlaWZ1bmsxEjAQBgNVBAsMCW1hcHNlcnZlcjEjMCEGA1UEAwwa
  77. bWFwc2VydmVyLmZyZWlmdW5rLmV4YW1wbGUwgZ8wDQYJKoZIhvcNAQEBBQADgY0A
  78. MIGJAoGBAMVS91cvJkaNx4jdnhSOo2tsvUmfYX8KYKOzhrzHUWowpofcb/ix7/6y
  79. gxQLXjRGo6dvwms4LGkHQ516lUsNbX3VfZ3iiI5vV8I7a4wEUnxrVkQer+OoufxF
  80. js6skZQIyYuwuqYRTquMAQG+QPZE9Mnx9xRoxeOUh0DTlAWBSUApAgMBAAEwDQYJ
  81. KoZIhvcNAQELBQADgYEAXjdHDXdzIrlKfk1NN9PdZVap9QrXdxko48r2fxw56EIm
  82. 86gQheAMJX/kVKPAXnAsvr0Deoj6iM9MhHztDyZUJ4FMSyIteGFOddEVmQ8JCJIo
  83. RnAOI4YIB9+CxjXNatDlmGSHGx5i4A2dUUIU/IGPXTe17+4DznGujze/hB04r34=
  84. -----END CERTIFICATE-----