add support for vip

This commit is contained in:
Robert Kaussow 2018-12-08 00:54:36 +01:00
parent 2e0e7d7b52
commit 83ade74ea4

View File

@ -33,7 +33,7 @@
with_dict: "{{ network_interfaces }}"
loop_control:
label: "{{ item.key }}"
when: item.key in ansible_interfaces
when: item.key in ansible_interfaces or item.key.split(":")[0] in ansible_interfaces
notify:
- network_restart