diff --git a/lib/ansible/modules/system/hostname.py b/lib/ansible/modules/system/hostname.py index af564de2f8..a221e0a0cf 100644 --- a/lib/ansible/modules/system/hostname.py +++ b/lib/ansible/modules/system/hostname.py @@ -610,6 +610,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'