Browse Source

only do fastd and babeld if netifs are defined

master
parent
commit
c5326bdc42
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      meta/main.yml

+ 2
- 0
meta/main.yml View File

@@ -22,4 +22,6 @@ dependencies:
- name: netif - name: netif
- name: network_interfaces - name: network_interfaces
- name: fastd - name: fastd
when: ( netif | json_query("*|[?type=='fastd']") | length ) > 0
- name: babeld - name: babeld
when: ( netif | json_query("*|[?babeld==true]") | length ) > 0