respondd: bump to version 4fd2e3e6
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
bf3784af19
commit
5c34da3e62
@ -4,4 +4,4 @@ batman_interface: bat-{{ site_code }}
|
|||||||
main_bridge: br-{{ site_code }}
|
main_bridge: br-{{ site_code }}
|
||||||
|
|
||||||
respondd_announce_git_root: https://github.com/ffnord/mesh-announce/
|
respondd_announce_git_root: https://github.com/ffnord/mesh-announce/
|
||||||
respondd_announce_git_version: fc2d8d78d53d1908ad16b79b66f79557ccd9a83a
|
respondd_announce_git_version: 4fd2e3e6eb15c2a52b7401c88a105ff483934689
|
||||||
|
@ -7,6 +7,10 @@
|
|||||||
git: repo={{ respondd_announce_git_root }} dest=/opt/{{ site_code }}/respondd-announce/ version={{ respondd_announce_git_version }}
|
git: repo={{ respondd_announce_git_root }} dest=/opt/{{ site_code }}/respondd-announce/ version={{ respondd_announce_git_version }}
|
||||||
notify: Restart respondd
|
notify: Restart respondd
|
||||||
|
|
||||||
|
- name: Configure respondd
|
||||||
|
template: src=respondd.conf.j2 dest=/opt/{{ site_code }}/respondd.conf
|
||||||
|
notify: Restart respondd
|
||||||
|
|
||||||
- name: Install systemd unit
|
- name: Install systemd unit
|
||||||
template: src=respondd.service.j2 dest=/lib/systemd/system/respondd.service
|
template: src=respondd.service.j2 dest=/lib/systemd/system/respondd.service
|
||||||
notify:
|
notify:
|
||||||
|
20
roles/respondd/templates/respondd.conf.j2
Normal file
20
roles/respondd/templates/respondd.conf.j2
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Default settings
|
||||||
|
[Defaults]
|
||||||
|
# Listen port, defaults to 1001
|
||||||
|
Port: 1001
|
||||||
|
# Default multicast listen addresses
|
||||||
|
MulticastLinkAddress: ff02::2:1001
|
||||||
|
MulticastSiteAddress: ff05::2:1001
|
||||||
|
# Default domain to use
|
||||||
|
DefaultDomain: {{ site_code }}
|
||||||
|
# Default domain type
|
||||||
|
DomainType: batadv
|
||||||
|
|
||||||
|
# A domain
|
||||||
|
[{{ site_code }}]
|
||||||
|
# Batman interface, mandatory
|
||||||
|
BatmanInterface: {{ batman_interface }}
|
||||||
|
# Other listen interfaces
|
||||||
|
Interfaces: {{ main_bridge }}
|
||||||
|
# IPv4 gateway option for ddhcpd
|
||||||
|
IPv4Gateway: {{ batman_ipv4 | ipaddr('address') }}
|
@ -5,7 +5,7 @@ Description=Respondd
|
|||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/opt/{{ site_code }}/respondd-announce/respondd.py -d /opt/{{ site_code }}/respondd-announce/providers -i {{ main_bridge }} -b {{ batman_interface }} -m {{ batman_ipv4 | ipaddr('address') }}
|
ExecStart=/opt/{{ site_code }}/respondd-announce/respondd.py -d /opt/{{ site_code }}/respondd-announce/providers -f /opt/{{ site_code }}/respondd.conf
|
||||||
Restart=always
|
Restart=always
|
||||||
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
WorkingDirectory=/opt/{{ site_code }}/respondd-announce
|
WorkingDirectory=/opt/{{ site_code }}/respondd-announce
|
||||||
|
Loading…
Reference in New Issue
Block a user