ansible-ffibk/roles/service-nginx-meshviewer
2018-11-28 10:59:53 +01:00
..
handlers add role nginx-meshviewer 2018-09-18 12:48:08 +02:00
meta add role nginx-meshviewer 2018-09-18 12:48:08 +02:00
tasks roles: don't become root when writing in /home/admin 2018-09-25 16:41:43 +02:00
templates Role service-nginx-meshviewer: enable HTTP/2 2018-11-28 10:59:53 +01:00
vars role service-nginx(-meshviewer): fix typos 2018-09-20 11:28:04 +02:00
README.md update READMEs 2018-09-18 12:48:09 +02:00

Ansible role service-nginx-meshviewer

Diese Ansible role installert den Meshviewer und konfiguriert den nginx vHosts.

  • schreibt config.js
  • schreibt meshviewer.conf
  • legt Meschviewer Verzeichnis an
  • installiert Abhängigkeiten via yarn
  • baut den Meschviewer
  • installert den Meshviewer

Benötigte Variablen

  • Variable meshviewer_src (Rollen Variable)
  • Variable meshviewer_path (Rollen Variable)
  • Variable http_meshviewer_external (Rollen Variable)
  • Variable http_meshviewer_internal (Rollen Variable)
  • Variable http_meshviewer_prefix # string: Subdomain
  • Variable http_domain_external # string: Externe Freifunk MWU Domain
  • Variable http_domain_internal # string: Interne Freifunk MWU Domain
  • Dictionary meshes
meshes:
  - id: xx
...
    site_code: # string
    site_name: # string
    sites_virtual: # (optinal)
      ffxx: # string

...
    http_domain_external: # string: Externe Mesh Domain
    http_domain_internal: # string: Interne Mesh Domain
  • Dictionary map_layers (Rollen Variable)
map_layers:
  - xxx:
    name: # string
    url: # string
    max_zoom: # integer
    attribution: # string
...