Browse Source

Reload bird instead of restarting

Markus Lindenberg 9 years ago
parent
commit
3985803629

+ 2 - 2
roles/internal/ffdo.bird/handlers/main.yml

@@ -1,8 +1,8 @@
 ---
 # handlers file for ffdo.bird
 
-- name: Restart bird daemons
-  service: name={{item}} state=restarted
+- name: Reload bird daemons
+  service: name={{item}} state=reloaded
   with_items:
   - bird
   - bird6

+ 2 - 2
roles/internal/ffdo.bird/tasks/main.yml

@@ -15,11 +15,11 @@
 
 - name: Install bird.conf
   template: src=bird.conf.j2 dest={{bird_config_dir}}/bird.conf
-  notify: Restart bird daemons
+  notify: Reload bird daemons
 
 - name: Install bird6.conf
   template: src=bird6.conf.j2 dest={{bird_config_dir}}/bird6.conf
-  notify: Restart bird daemons
+  notify: Reload bird daemons
 
 - name: Enable and start bird and bird6
   service: name={{item}} state=started enabled=yes

+ 2 - 2
roles/internal/ffdo.mesh-interfaces/tasks/main.yml

@@ -7,11 +7,11 @@
 
 - name: Install bird.conf
   template: src=bird.conf.j2 dest=/etc/bird/conf.d/mesh.conf
-  notify: Restart bird daemons
+  notify: Reload bird daemons
 
 - name: Install bird6.conf
   template: src=bird6.conf.j2 dest=/etc/bird/conf6.d/mesh.conf
-  notify: Restart bird daemons
+  notify: Reload bird daemons
 
 - name: Ensure interface definitions from other files are included
   lineinfile:

+ 3 - 3
roles/internal/ffdo.peering/tasks/main.yml

@@ -24,8 +24,8 @@
 
 - name: Install bird.conf
   template: src=bird.conf.j2 dest=/etc/bird/conf.d/peering.conf
-  notify: Restart bird daemons
+  notify: Reload bird daemons
 
 - name: Install bird6.conf
-  template: src=bird6.conf.j2 dest=/etc/bird/conf6.d/peering6.conf
-  notify: Restart bird daemons
+  template: src=bird6.conf.j2 dest=/etc/bird/conf6.d/peering.conf
+  notify: Reload bird daemons