Role service-domain-director: update to latest version
This commit is contained in:
parent
fc8bdfb63e
commit
07a9169656
2 changed files with 22 additions and 16 deletions
|
@ -54,6 +54,7 @@
|
||||||
pip:
|
pip:
|
||||||
name: git+https://github.com/freifunk-darmstadt/ffda-domain-director.git
|
name: git+https://github.com/freifunk-darmstadt/ffda-domain-director.git
|
||||||
executable: pip3
|
executable: pip3
|
||||||
|
state: latest
|
||||||
notify: restart domain-director
|
notify: restart domain-director
|
||||||
|
|
||||||
- name: write vhost
|
- name: write vhost
|
||||||
|
|
|
@ -2,25 +2,30 @@
|
||||||
host: "::1"
|
host: "::1"
|
||||||
port: 28530
|
port: 28530
|
||||||
|
|
||||||
# data paths
|
geo:
|
||||||
|
provider: "mozilla"
|
||||||
|
mozilla:
|
||||||
|
api_key: "test"
|
||||||
|
|
||||||
|
director:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
sqlite_path: "{{ director_data_dir }}/director.db"
|
sqlite_path: "{{ director_data_dir }}/director.db"
|
||||||
|
|
||||||
# mozilla location services
|
admin:
|
||||||
mls_api_key: "test"
|
enabled: true
|
||||||
|
token: {{ lookup('passwordstore', 'suesskartoffel/domain_director_admin') }}
|
||||||
|
|
||||||
# domain config
|
|
||||||
geojson: "{{ director_conf_dir }}/domains.geojson"
|
geojson: "{{ director_conf_dir }}/domains.geojson"
|
||||||
default_domain: "umland"
|
|
||||||
|
|
||||||
# how often to update from meshviewer
|
|
||||||
update_interval: 300
|
|
||||||
|
|
||||||
meshviewer_url: "https://map.ffmwu.org/#!/de/map/%s"
|
meshviewer_url: "https://map.ffmwu.org/#!/de/map/%s"
|
||||||
meshviewer_json_url: "https://map.ffmwu.org/data/meshviewer.json"
|
meshviewer_json_url: "https://map.ffmwu.org/data/meshviewer.json"
|
||||||
|
update_interval: 300
|
||||||
|
|
||||||
# when to switch the domain (unix epoch)
|
default_domain: umland
|
||||||
# -1 to disable
|
|
||||||
domain_switch_time: -1
|
domain_switch_time: -1
|
||||||
|
|
||||||
# migrate meshes with only one node
|
|
||||||
only_migrate_vpn: false
|
only_migrate_vpn: false
|
||||||
|
tolerance_distance: 200
|
||||||
|
max_accuracy: 100
|
||||||
|
|
||||||
|
locator:
|
||||||
|
enabled: true
|
||||||
|
|
Loading…
Reference in a new issue