mapserver_pkg_vars.yml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. supernodes:
  2. - name: node01
  3. public_ip: 192.168.77.21/24
  4. mesh_ip_v4: 10.42.0.8/16
  5. mesh_ip_v6: fdec:16a3:681b:865c::8/64
  6. mesh_mac: 96:48:76:b5:a3:61
  7. bat_mac: f2:43:13:c0:d7:06
  8. dhcp_range_start: 10.42.0.32
  9. dhcp_range_end: 10.42.5.254
  10. public_interface: eth1
  11. uplink_tunnel_ip: 172.16.42.2/30
  12. uplink_tunnel_ip_v6: fd30:db1d:2377:4143::2/64
  13. - name: node02
  14. public_ip: 192.168.77.22/24
  15. mesh_ip_v4: 10.42.0.16/16
  16. mesh_ip_v6: fdec:16a3:681b:865c::16/64
  17. mesh_mac: c2:e1:c6:e5:68:4c
  18. bat_mac: 1e:f5:dc:71:bb:5f
  19. dhcp_range_start: 10.42.6.2
  20. dhcp_range_end: 10.42.8.254
  21. public_interface: eth1
  22. - name: map
  23. public_ip: 192.168.77.29/24
  24. mesh_ip_v4: 10.42.0.128/16
  25. mesh_ip_v6: fdec:16a3:681b:865c::80/64
  26. mesh_mac: 12:78:92:f8:1b:42
  27. bat_mac: f6:9c:fe:9d:d4:da
  28. public_interface: eth1
  29. local_node: "{{supernodes[2]}}"
  30. supernode_mesh_mac: "{{local_node.mesh_mac}}"
  31. supernode_mesh_ipv4: "{{local_node.mesh_ip_v4}}"
  32. supernode_bat_macaddress: "{{local_node.bat_mac}}"
  33. supernode_mesh_ipv6: "{{local_node.mesh_ip_v6}}"
  34. supernode_local_ip: "{{local_node.public_ip|default(ansible_default_ipv4.address)}}"
  35. supernode_public_interface: "{{local_node.public_interface|default(ansible_default_ipv4.interface)}}"
  36. supernode_as: '4242'
  37. supernode_mesh_backbones:
  38. - name: "{{supernodes[0].name}}"
  39. remote_ip: "{{supernodes[0].public_ip|ipaddr('address')}}"
  40. mesh_ip: "{{supernodes[0].mesh_ip_v4|ipaddr('address')}}"
  41. address_v6: "{{supernodes[0].mesh_ip_v6|ipaddr('address')}}"
  42. local_ip: "{{supernode_local_ip|ipaddr('address')}}"
  43. interface: "{{supernode_public_interface}}"
  44. - name: "{{supernodes[1].name}}"
  45. remote_ip: "{{supernodes[1].public_ip|ipaddr('address')}}"
  46. mesh_ip: "{{supernodes[1].mesh_ip_v4|ipaddr('address')}}"
  47. address_v6: "{{supernodes[1].mesh_ip_v6|ipaddr('address')}}"
  48. local_ip: "{{supernode_local_ip|ipaddr('address')}}"
  49. interface: "{{supernode_public_interface}}"
  50. supernode_interfaces:
  51. - name: eth0
  52. auto: true
  53. proto: inet
  54. type: dhcp
  55. - name: eth1
  56. auto: true
  57. proto: inet
  58. type: static
  59. config:
  60. - key: address
  61. value: "{{supernode_local_ip|ipaddr('address')}}"
  62. - key: netmask
  63. value: "{{supernode_local_ip|ipaddr('netmask')}}"
  64. - key: broadcast
  65. value: "{{supernode_local_ip|ipaddr('broadcast')}}"
  66. meshviewer_data_url: "http://{{ansible_default_ipv4.address}}/data"
  67. meshviewer_site_name: Test Kitchen
  68. meshviewer_map_sigma_scale: 0.5
  69. meshviewer_show_contacts: true
  70. meshviewer_max_age: 14
  71. mapserver_use_pregenerated_dh_params: true
  72. mapserver_dh_params: |
  73. -----BEGIN DH PARAMETERS-----
  74. MIIBCAKCAQEAmWF6Vbj7fCywCna6iHb8WykMo7df73WrNmcdzpxBX+x29YMhU9zX
  75. DATZ6cqLjOV0uDMqL6I0estB9TxwIEXUgOoc1KTUc91AE9YzQpH86jdE6nkw4Jjz
  76. ec2TkyHJmLgods8NPw/uHvrpw84HWm/QxUT3ZOYdzTuNuGxWyJ43vCTsNrq59jOx
  77. pbMETJRsP2YRNHMYwwF3V40EgN5y1X0xENstyWdPvk2aspxz10O+gD6+buSYA+xb
  78. rvPG5bn/sVhi7pYBKPUMhrF8AoqGltNINkpP4dW3aQDJeIcwQ1aoE8IYp8eyv935
  79. bHWReVmyfpXHEWtSHjwNbuqey40XN31qYwIBAg==
  80. -----END DH PARAMETERS-----
  81. mapserver_ssl_private_key: |
  82. -----BEGIN RSA PRIVATE KEY-----
  83. MIICXQIBAAKBgQDFUvdXLyZGjceI3Z4UjqNrbL1Jn2F/CmCjs4a8x1FqMKaH3G/4
  84. se/+soMUC140RqOnb8JrOCxpB0OdepVLDW191X2d4oiOb1fCO2uMBFJ8a1ZEHq/j
  85. qLn8RY7OrJGUCMmLsLqmEU6rjAEBvkD2RPTJ8fcUaMXjlIdA05QFgUlAKQIDAQAB
  86. AoGBAKSwbDNd7MoyBvlaTlfF/Orp5MoPteW8GZBHhAsHKBJC7Jq0BthAWpfvEaun
  87. GUb0Nh7HDjNCvP4jy/EhoHz1hg1pFOkRUlz602qLj5h2aEqB8yW4DfUbrfq3CHpd
  88. 0rZXWlrIn9Ww0rr/ZGQvNywOuyIVsaDmBWsudQhv+4CSpa/JAkEA+HJCRuAFExHK
  89. Lftr/8bSVajOFPmdf+vhERLuAB8r7FH2pl7H67CETKN8BdVLCOurhjSA4Iq/RRaS
  90. 3qSkXgD9PwJBAMtSzkXfRBPxZl7iCGHsGenOfIdLONm4/LaSBJtsqv3YgAMhMdrO
  91. idwU293nKktTONUV61gzbFSbLATiuLH0IJcCQG1TojScCb+deXGIjLrOG+qT0LPM
  92. L/GFs9GWmeK11Nc2LiqB1MmzMFSlMENE27L+Oclhu0CT7Z0SVOjiXG39U3MCQQCS
  93. 6kuIK3KqomShLNx3vT1gN0a+D/mNQODCHzJbCCNp9xVQrZyziUgOEbhpWE60TPck
  94. 6Yi7m7SsUc913EkutMMTAkBup3dbKPkDgl3Ujm9q/mvyJdE5ZF1QvbSSuFFPinP6
  95. pQtvUENWV3NmlAuBOg4gzJ+ZSyKy93KvJ91MHNwfKMok
  96. -----END RSA PRIVATE KEY-----
  97. mapserver_ssl_server_cert: |
  98. -----BEGIN CERTIFICATE-----
  99. MIICazCCAdQCCQDGN/3zHbvn2zANBgkqhkiG9w0BAQsFADB6MQswCQYDVQQGEwJE
  100. RTEMMAoGA1UECAwDTlJXMREwDwYDVQQHDAhEb3J0bXVuZDERMA8GA1UECgwIRnJl
  101. aWZ1bmsxEjAQBgNVBAsMCW1hcHNlcnZlcjEjMCEGA1UEAwwabWFwc2VydmVyLmZy
  102. ZWlmdW5rLmV4YW1wbGUwHhcNMTUwODAyMTIzMjUyWhcNMTYwODAxMTIzMjUyWjB6
  103. MQswCQYDVQQGEwJERTEMMAoGA1UECAwDTlJXMREwDwYDVQQHDAhEb3J0bXVuZDER
  104. MA8GA1UECgwIRnJlaWZ1bmsxEjAQBgNVBAsMCW1hcHNlcnZlcjEjMCEGA1UEAwwa
  105. bWFwc2VydmVyLmZyZWlmdW5rLmV4YW1wbGUwgZ8wDQYJKoZIhvcNAQEBBQADgY0A
  106. MIGJAoGBAMVS91cvJkaNx4jdnhSOo2tsvUmfYX8KYKOzhrzHUWowpofcb/ix7/6y
  107. gxQLXjRGo6dvwms4LGkHQ516lUsNbX3VfZ3iiI5vV8I7a4wEUnxrVkQer+OoufxF
  108. js6skZQIyYuwuqYRTquMAQG+QPZE9Mnx9xRoxeOUh0DTlAWBSUApAgMBAAEwDQYJ
  109. KoZIhvcNAQELBQADgYEAXjdHDXdzIrlKfk1NN9PdZVap9QrXdxko48r2fxw56EIm
  110. 86gQheAMJX/kVKPAXnAsvr0Deoj6iM9MhHztDyZUJ4FMSyIteGFOddEVmQ8JCJIo
  111. RnAOI4YIB9+CxjXNatDlmGSHGx5i4A2dUUIU/IGPXTe17+4DznGujze/hB04r34=
  112. -----END CERTIFICATE-----