From 63a552b2d367f950be5baf2ed4de837300e099cc Mon Sep 17 00:00:00 2001 From: Hiroaki Nakamura Date: Sun, 10 Nov 2013 08:10:53 +0900 Subject: [PATCH] Apply the same change as https://github.com/hnakamur/ansible-playbooks/pull/2 --- library/system/hostname | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/system/hostname b/library/system/hostname index e04b12e0ed..6472a64d2e 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'