Role service-domain-director: update to latest version

This commit is contained in:
Julian Labus 2019-06-04 10:45:27 +02:00
parent fc8bdfb63e
commit 07a9169656
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A
2 changed files with 22 additions and 16 deletions

View file

@ -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

View file

@ -2,25 +2,30 @@
host: "::1" host: "::1"
port: 28530 port: 28530
# data paths geo:
sqlite_path: "{{ director_data_dir }}/director.db" provider: "mozilla"
mozilla:
api_key: "test"
# mozilla location services director:
mls_api_key: "test" enabled: true
# domain config sqlite_path: "{{ director_data_dir }}/director.db"
geojson: "{{ director_conf_dir }}/domains.geojson"
default_domain: "umland"
# how often to update from meshviewer admin:
update_interval: 300 enabled: true
token: {{ lookup('passwordstore', 'suesskartoffel/domain_director_admin') }}
meshviewer_url: "https://map.ffmwu.org/#!/de/map/%s" geojson: "{{ director_conf_dir }}/domains.geojson"
meshviewer_json_url: "https://map.ffmwu.org/data/meshviewer.json" meshviewer_url: "https://map.ffmwu.org/#!/de/map/%s"
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 only_migrate_vpn: false
tolerance_distance: 200
max_accuracy: 100
# migrate meshes with only one node locator:
only_migrate_vpn: false enabled: true