Commit a3d84184 authored by nanahira's avatar nanahira

revert to full restart babeld

parent db7072dd
......@@ -108,13 +108,13 @@
template:
src: babeld.conf.j2
dest: '{{ansible_user_dir}}/nextgen-network/services/babeld.conf'
# notify: reload_babeld
notify: restart_babeld
when: not noBird
- name: babeld reload conf
template:
src: babeld-reload.conf.j2
dest: /tmp/babeld-reload.conf
notify: reload_babeld
#- name: babeld reload conf
# template:
# src: babeld-reload.conf.j2
# dest: /tmp/babeld-reload.conf
# notify: reload_babeld
- name: frps conf
template:
src: protocols/wgfrp/frps.ini.j2
......@@ -147,7 +147,7 @@
template:
src: babeld.conf.j2
dest: '/etc/babeld.conf'
# notify: reload_babeld
notify: restart_babeld_systemd
when: systemBird
- name: enable systemd babeld
become: true
......@@ -168,6 +168,13 @@
services:
- bird
when: not noBird
- name: restart_babeld # ocserv would be always restarted whenever key changes..
docker_compose:
project_src: '{{ansible_user_dir}}/nextgen-network/services'
restarted: true
services:
- babeld
when: not noBird
- name: reload_babeld
shell: cat /tmp/babeld-reload.conf | nc ::1 33123
- name: restart_frps
......@@ -205,6 +212,11 @@
systemd:
name: bird
state: restarted
- name: restart_babeld_systemd
become: true
systemd:
name: babeld
state: restarted
- name: reload_chnroute
become: true
shell: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment