diff --git a/lib/ansible/modules/system/hostname.py b/lib/ansible/modules/system/hostname.py index c6432428fca..7af045b5a6e 100644 --- a/lib/ansible/modules/system/hostname.py +++ b/lib/ansible/modules/system/hostname.py @@ -727,6 +727,11 @@ class FreeBSDHostname(Hostname): distribution = None strategy_class = FreeBSDStrategy +class NetBSDHostname(Hostname): + platform = 'NetBSD' + distribution = None + strategy_class = FreeBSDStrategy + # ===========================================