فهرست منبع

Fixed missing or unknown variables

Till Klocke 9 سال پیش
والد
کامیت
532702bd37
2فایلهای تغییر یافته به همراه1 افزوده شده و 4 حذف شده
  1. 0 3
      roles/internal/ffdo.bird/tasks/main.yml
  2. 1 1
      roles/internal/ffdo.mesh-interfaces/templates/mesh_interfaces.j2

+ 0 - 3
roles/internal/ffdo.bird/tasks/main.yml

@@ -16,17 +16,14 @@
   file: name={{bird_config_dir}} state=directory
 
 - name: Install bird.conf
-  when: bird_configure
   template: src=bird.conf.j2 dest={{bird_config_dir}}/bird.conf
   notify: Restart bird daemons
 
 - name: Install bird6.conf
-  when: bird_configure
   template: src=bird6.conf.j2 dest={{bird_config_dir}}/bird6.conf
   notify: Restart bird daemons
 
 - name: Enable and start bird and bird6
-  when: bird_configure
   service: name={{item}} state=started enabled=yes
   with_items:
     - bird

+ 1 - 1
roles/internal/ffdo.mesh-interfaces/templates/mesh_interfaces.j2

@@ -32,7 +32,7 @@ iface bat0 inet static
     down ip link del dev alfred0
 
 iface bat0 inet6 static
-    address {{supernode_mesh_ipv6}}
+    address {{mesh_ipv6}}
     pre-up ip -6 rule add from {{mesh_ipv6|ipaddr('cidr')}} table 42
     pre-up ip -6 rule add to {{mesh_ipv6|ipaddr('cidr')}} table 42
     post-down ip -6 rule del from {{mesh_ipv6|ipaddr('cidr')}} table 42