Configure `caas_oam` as flannel interface
[ta/caas-danm.git] / ansible / roles / flannel / tasks / main.yaml
index 19f10d2..03c5775 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+- name: collect flannel interfaces
+  set_fact:
+    flannel_interfaces: "{{ hostvars.values() | json_query(interface_query) | unique | list }}"
+
 - name: template Flannel DaemonSet file
   template:
     src: flannel-ds.yaml