diff --git a/tasks/config.yml b/tasks/config.yml index fe85bbf..42aa4ab 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -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