From cc17a0ac7ddb013d57564e23e7be784fcc5a650f 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 --- system/hostname | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/hostname b/system/hostname index e04b12e0ed5..6472a64d2ec 100644 --- a/system/hostname +++ b/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'