--- - block: - name: restart network command: /bin/sh /etc/netstart when: ansible_os_family == "OpenBSD"