diff --git a/roles/network_plugin/fan/tasks/dhcp-daemon.yml b/roles/network_plugin/fan/tasks/dhcp-daemon.yml index f9995b622..b9ae47a08 100644 --- a/roles/network_plugin/fan/tasks/dhcp-daemon.yml +++ b/roles/network_plugin/fan/tasks/dhcp-daemon.yml @@ -20,3 +20,4 @@ with_items: - "cni-dhcp.socket" - "cni-dhcp.service" + when: "{{ ansible_service_mgr == 'systemd' }}"