diff --git a/library/system/hostname b/library/system/hostname index e04b12e0ed5..6472a64d2ec 100644 --- a/library/system/hostname +++ b/library/system/hostname @@ -221,6 +221,11 @@ class RedHatStrategy(GenericStrategy): self.module.fail_json(msg="failed to update hostname: %s" % str(err)) +class RedHat5Hostname(Hostname): + platform = 'Linux' + distribution = 'Redhat' + strategy_class = RedHatStrategy + class RedHatHostname(Hostname): platform = 'Linux' distribution = 'Red hat enterprise linux server'