diff --git a/tasks/networking.yml b/tasks/networking.yml index 62c4e03..75438bb 100644 --- a/tasks/networking.yml +++ b/tasks/networking.yml @@ -7,3 +7,5 @@ group: root mode: 0644 notify: restart networking service + # only ifupdown hosts with floating ips need this (not e.g. Raspberry Pi OS with NetworkManager) + when: floating_ips | length > 0