diff --git a/lib/ansible/modules/system/hostname.py b/lib/ansible/modules/system/hostname.py index 36fef643178..76f8f16057d 100644 --- a/lib/ansible/modules/system/hostname.py +++ b/lib/ansible/modules/system/hostname.py @@ -627,6 +627,11 @@ class RedHat5Hostname(Hostname): distribution = 'Redhat' strategy_class = RedHatStrategy +class RHELHostname(Hostname): + platform = 'Linux' + distribution = 'Red hat enterprise linux' + strategy_class = RedHatStrategy + class RedHatServerHostname(Hostname): platform = 'Linux' distribution = 'Red hat enterprise linux server'